Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005264/0.005264, allocations: 169.3 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 239 MB, free: 1.805 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009051/0.0009051, allocations: 97.81 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4848/0.4848, allocations: 78.59 MB / 419.9 MB, free: 44.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003884, allocations: 12 kB / 499.9 MB, free: 2.871 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4477, allocations: 69.33 MB / 0.5559 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.581, allocations: 97.62 MB / 0.6512 GB, free: 8.918 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.5813, allocations: 79.95 kB / 0.6513 GB, free: 8.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06155/0.6428, allocations: 23.97 MB / 0.6747 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6429, allocations: 0 / 0.6747 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.321e-05/0.6429, allocations: 16 kB / 0.6747 GB, free: 0.7266 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.004616/0.6475, allocations: 1.807 MB / 0.6765 GB, free: 14.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.6476, allocations: 12.03 kB / 0.6765 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.6478, allocations: 118.5 kB / 0.6766 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/0.6509, allocations: 0.5448 MB / 0.6771 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.6522, allocations: 0.6835 MB / 0.6778 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/0.6525, allocations: 260.2 kB / 0.678 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.6526, allocations: 72 kB / 0.6781 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.6546, allocations: 1.034 MB / 0.6791 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.6547, allocations: 0 / 0.6791 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.6548, allocations: 24 kB / 0.6791 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.6548, allocations: 19.94 kB / 0.6791 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.6569, allocations: 1.07 MB / 0.6802 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0058/0.6627, allocations: 3.264 MB / 0.6834 GB, free: 7.527 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.6648, allocations: 1.395 MB / 0.6847 GB, free: 6.012 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.589e-05/0.6649, allocations: 12.98 kB / 0.6848 GB, free: 6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.6649, allocations: 47.52 kB / 0.6848 GB, free: 5.945 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 2.435e-06/0.6649, allocations: 0 / 0.6848 GB, free: 5.945 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.02772/0.6927, allocations: 8.111 MB / 0.6927 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.6928, allocations: 60.41 kB / 0.6928 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.6939, allocations: 0.6808 MB / 0.6934 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002211/0.6941, allocations: 45.7 kB / 0.6935 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/0.6944, allocations: 440.4 kB / 0.6939 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/0.6948, allocations: 299.6 kB / 0.6942 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/0.6949, allocations: 16 kB / 0.6942 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.695, allocations: 334 kB / 0.6945 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.6964, allocations: 0.6422 MB / 0.6951 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.6978, allocations: 0.7453 MB / 0.6959 GB, free: 10.48 MB / 0.4948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.order5Type1_Inputs_Outputs.delta = 0.0 (order5Type1_Inputs_Outputs.w_b * (-1.0 + $START.order5Type1_Inputs_Outputs.w) = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.6995, allocations: 0.7895 MB / 0.6966 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.6995, allocations: 7.938 kB / 0.6967 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0146/0.7141, allocations: 4.857 MB / 0.7014 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.7142, allocations: 8 kB / 0.7014 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.7142, allocations: 3.938 kB / 0.7014 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007247/0.7215, allocations: 2.197 MB / 0.7036 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006496/0.7222, allocations: 123.8 kB / 0.7037 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02378/0.746, allocations: 10.25 MB / 0.7137 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.7474, allocations: 171.3 kB / 0.7138 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.7476, allocations: 28 kB / 0.7139 GB, free: 7.875 MB / 0.5105 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.order5Type1_Inputs_Outputs.delta = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of prepare postOptimizeDAE: time 0.0006279/0.7483, allocations: 213.7 kB / 0.7141 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.7487, allocations: 102.7 kB / 0.7142 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/0.7624, allocations: 4.766 MB / 0.7188 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.7624, allocations: 11.94 kB / 0.7188 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7624, allocations: 7.984 kB / 0.7188 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.7625, allocations: 11.92 kB / 0.7189 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/0.7783, allocations: 6.261 MB / 0.725 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.7783, allocations: 0 / 0.725 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00064/0.779, allocations: 103.9 kB / 0.7251 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006409/0.7854, allocations: 2.061 MB / 0.7271 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.7855, allocations: 23.94 kB / 0.7271 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01875/0.8043, allocations: 8.635 MB / 0.7355 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.8043, allocations: 4 kB / 0.7355 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/0.8195, allocations: 5.704 MB / 0.7411 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/0.82, allocations: 195.6 kB / 0.7413 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/0.8202, allocations: 12 kB / 0.7413 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.8214, allocations: 127.9 kB / 0.7414 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006202/0.822, allocations: 208.6 kB / 0.7416 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.018e-05/0.8221, allocations: 23.94 kB / 0.7417 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008048/0.8229, allocations: 0.5343 MB / 0.7422 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8229, allocations: 0 / 0.7422 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001563/0.8245, allocations: 407.6 kB / 0.7426 GB, free: 10.13 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01579/0.8403, allocations: 6.302 MB / 0.7487 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006727/0.8471, allocations: 2.45 MB / 0.7511 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.8471, allocations: 0 / 0.7511 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00475/0.8518, allocations: 1.706 MB / 0.7528 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007439/0.8526, allocations: 63.34 kB / 0.7528 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02504/0.8777, allocations: 11.9 MB / 0.7645 GB, free: 3.375 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00083/0.8785, allocations: 1.056 MB / 0.7655 GB, free: 2.289 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004013/0.879, allocations: 65.14 kB / 0.7656 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/0.8796, allocations: 367.3 kB / 0.7659 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of SimCode: time 1.182e-06/0.8796, allocations: 0 / 0.7659 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3341/1.214, allocations: 27.77 MB / 0.793 GB, free: 150.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001321/1.214, allocations: 195.7 kB / 0.7932 GB, free: 150 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/3.972, allocations: 0 / 0.7932 GB, free: 150 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)