Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09647/0.09647, allocations: 12.2 MB / 27.43 MB, free: 1.391 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 124.2 kB / 30.95 MB, free: 4.66 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 239.4 MB, free: 10.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 184.5 kB / 289.6 MB, free: 15.85 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4624/0.4624, allocations: 78.5 MB / 418.1 MB, free: 31.75 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002507/0.002508, allocations: 136.8 kB / 498.5 MB, free: 444 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3844, allocations: 68.03 MB / 0.5533 GB, free: 37.8 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.005921/0.3904, allocations: 6.234 MB / 0.5594 GB, free: 33.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.3933, allocations: 1.771 MB / 0.5611 GB, free: 31.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003838/0.3937, allocations: 14.97 kB / 0.5611 GB, free: 31.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.3942, allocations: 159.5 kB / 0.5612 GB, free: 31.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.3955, allocations: 0.609 MB / 0.5618 GB, free: 31.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009635/0.3965, allocations: 0.534 MB / 0.5624 GB, free: 31.19 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009664/0.3974, allocations: 1.271 MB / 0.5636 GB, free: 30.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.3978, allocations: 274.1 kB / 0.5639 GB, free: 30.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.3983, allocations: 0.5367 MB / 0.5644 GB, free: 30.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005372/0.3988, allocations: 0.6604 MB / 0.565 GB, free: 29.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.3989, allocations: 91.66 kB / 0.5651 GB, free: 29.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.3993, allocations: 229.8 kB / 0.5653 GB, free: 29.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.3995, allocations: 253 kB / 0.5656 GB, free: 29.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000346/0.3998, allocations: 0.5609 MB / 0.5661 GB, free: 29.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009621/0.4008, allocations: 1.374 MB / 0.5675 GB, free: 28.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4008, allocations: 0 / 0.5675 GB, free: 28.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4008, allocations: 0 / 0.5675 GB, free: 28.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.4008, allocations: 0 / 0.5675 GB, free: 28.61 MB / 414.1 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.007068/0.4079, allocations: 2.373 MB / 0.5698 GB, free: 27.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.408, allocations: 14.45 kB / 0.5698 GB, free: 27.53 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.4081, allocations: 118.8 kB / 0.5699 GB, free: 27.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004601/0.4127, allocations: 0.7615 MB / 0.5707 GB, free: 27.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.4137, allocations: 0.7193 MB / 0.5714 GB, free: 26.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/0.414, allocations: 249 kB / 0.5716 GB, free: 26.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.4141, allocations: 66.47 kB / 0.5717 GB, free: 26.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.416, allocations: 0.9776 MB / 0.5726 GB, free: 26.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4161, allocations: 0 / 0.5726 GB, free: 26.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.301e-05/0.4162, allocations: 24.97 kB / 0.5726 GB, free: 26.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.4162, allocations: 16 kB / 0.5727 GB, free: 26.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.4181, allocations: 0.9878 MB / 0.5736 GB, free: 25.84 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005514/0.4236, allocations: 3.219 MB / 0.5768 GB, free: 23.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.4257, allocations: 1.326 MB / 0.5781 GB, free: 23.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.4273, allocations: 0.7125 MB / 0.5788 GB, free: 22.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.4274, allocations: 19.2 kB / 0.5788 GB, free: 22.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.4274, allocations: 38.84 kB / 0.5788 GB, free: 22.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=84): time 3.376e-06/0.4274, allocations: 1.094 kB / 0.5788 GB, free: 22.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=84): time 0.0255/0.4529, allocations: 6.389 MB / 0.5851 GB, free: 21.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.453, allocations: 64.75 kB / 0.5851 GB, free: 21.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.4542, allocations: 0.8067 MB / 0.5859 GB, free: 20.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.902e-05/0.4543, allocations: 41.08 kB / 0.5859 GB, free: 20.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.4546, allocations: 423.2 kB / 0.5863 GB, free: 20.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.4549, allocations: 304.9 kB / 0.5866 GB, free: 20.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003831/0.4553, allocations: 194 kB / 0.5868 GB, free: 20.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.4553, allocations: 359 kB / 0.5872 GB, free: 19.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.4567, allocations: 0.6725 MB / 0.5878 GB, free: 19.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.4582, allocations: 0.8061 MB / 0.5886 GB, free: 18.9 MB / 414.1 MB 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.00313/0.4614, allocations: 1.561 MB / 0.5901 GB, free: 18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4614, allocations: 1.094 kB / 0.5901 GB, free: 18 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01336/0.4747, allocations: 4.205 MB / 0.5942 GB, free: 15.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.4748, allocations: 9.562 kB / 0.5942 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.4748, allocations: 6.156 kB / 0.5943 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006399/0.4812, allocations: 1.872 MB / 0.5961 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009034/0.4821, allocations: 171.7 kB / 0.5962 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/0.5013, allocations: 9.572 MB / 0.6056 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.5029, allocations: 151 kB / 0.6057 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.99e-05/0.503, allocations: 43.98 kB / 0.6058 GB, free: 4.422 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004326/0.5034, allocations: 223.2 kB / 0.606 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.5036, allocations: 106.6 kB / 0.6061 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.5147, allocations: 3.885 MB / 0.6099 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.5148, allocations: 8 kB / 0.6099 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5148, allocations: 4 kB / 0.6099 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.5148, allocations: 7.922 kB / 0.6099 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/0.529, allocations: 5.358 MB / 0.6151 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.5291, allocations: 0 / 0.6151 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/0.5297, allocations: 95.88 kB / 0.6152 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005791/0.5355, allocations: 1.749 MB / 0.6169 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.5357, allocations: 19.94 kB / 0.617 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01956/0.5553, allocations: 8.07 MB / 0.6248 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5553, allocations: 4 kB / 0.6248 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/0.5702, allocations: 4.719 MB / 0.6295 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/0.5709, allocations: 187.7 kB / 0.6296 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004123/0.5713, allocations: 16 kB / 0.6296 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.5727, allocations: 95.89 kB / 0.6297 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008822/0.5736, allocations: 196.7 kB / 0.6299 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.5737, allocations: 23.98 kB / 0.6299 GB, free: 11.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001087/0.5748, allocations: 0.5383 MB / 0.6305 GB, free: 10.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5748, allocations: 0 / 0.6305 GB, free: 10.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002199/0.5771, allocations: 419.6 kB / 0.6309 GB, free: 10.36 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0153/0.5924, allocations: 5.296 MB / 0.636 GB, free: 5.027 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007321/0.5997, allocations: 2.418 MB / 0.6384 GB, free: 2.598 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5997, allocations: 0 / 0.6384 GB, free: 2.598 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004634/0.6044, allocations: 1.515 MB / 0.6399 GB, free: 1.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.6055, allocations: 79.34 kB / 0.64 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04054/0.6461, allocations: 15.42 MB / 0.655 GB, free: 1.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009924/0.6471, allocations: 1.037 MB / 0.656 GB, free: 172 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004917/0.6476, allocations: 82.3 kB / 0.6561 GB, free: 88 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007056/0.6484, allocations: 387.3 kB / 0.6565 GB, free: 15.7 MB / 478.1 MB Notification: Performance of SimCode: time 4.028e-06/0.6484, allocations: 0 / 0.6565 GB, free: 15.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05892/0.7073, allocations: 30.58 MB / 0.6863 GB, free: 1.191 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.7075, allocations: 224.8 kB / 0.6866 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.799/3.507, allocations: 0 / 0.6866 GB, free: 0.9297 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)