Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.376/1.376, allocations: 230.6 MB / 250.5 MB, free: 9.387 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 216 kB / 306.7 MB, free: 4.336 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5234/0.5234, allocations: 101.3 MB / 464 MB, free: 12.03 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 87.86 kB / 0.62 GB, free: 15.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1551, allocations: 78.57 MB / 0.6967 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.3187/0.4738, allocations: 5.896 MB / 0.7025 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004698/0.4785, allocations: 1.814 MB / 0.7042 GB, free: 4.367 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.48, allocations: 15.28 kB / 0.7042 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.4806, allocations: 210.1 kB / 0.7044 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.4826, allocations: 0.755 MB / 0.7052 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.4841, allocations: 0.5679 MB / 0.7057 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.4861, allocations: 1.284 MB / 0.707 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004168/0.4866, allocations: 192.7 kB / 0.7072 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009126/0.4875, allocations: 0.556 MB / 0.7077 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006881/0.4882, allocations: 0.6662 MB / 0.7084 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.4883, allocations: 92.28 kB / 0.7084 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005763/0.4889, allocations: 241.1 kB / 0.7087 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.4891, allocations: 250.2 kB / 0.7089 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.4894, allocations: 0.5574 MB / 0.7095 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.4911, allocations: 1.397 MB / 0.7108 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4911, allocations: 0 / 0.7108 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4911, allocations: 2.781 kB / 0.7108 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.648e-05/0.4911, allocations: 0 / 0.7108 GB, free: 0.9023 MB / 494.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.008138/0.4993, allocations: 2.445 MB / 0.7132 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4993, allocations: 11.72 kB / 0.7132 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.968e-05/0.4994, allocations: 17.5 kB / 0.7132 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.4995, allocations: 117.3 kB / 0.7134 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005088/0.5046, allocations: 0.7611 MB / 0.7141 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.506, allocations: 0.726 MB / 0.7148 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/0.5063, allocations: 250.6 kB / 0.715 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.5065, allocations: 68.27 kB / 0.7151 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.5086, allocations: 0.9746 MB / 0.7161 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.5086, allocations: 4.562 kB / 0.7161 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.261e-05/0.5087, allocations: 25.72 kB / 0.7161 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.5087, allocations: 18.97 kB / 0.7161 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.511, allocations: 0.9863 MB / 0.7171 GB, free: 14.06 MB / 0.4981 GB 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.006886/0.5179, allocations: 3.202 MB / 0.7202 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002692/0.5205, allocations: 1.26 MB / 0.7214 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.5223, allocations: 0.6326 MB / 0.7221 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.5224, allocations: 15.38 kB / 0.7221 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.5224, allocations: 43.41 kB / 0.7221 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 3.586e-06/0.5224, allocations: 4 kB / 0.7221 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84): time 0.02695/0.5494, allocations: 6.342 MB / 0.7283 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.5495, allocations: 69.66 kB / 0.7284 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.551, allocations: 0.8024 MB / 0.7292 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003595/0.5514, allocations: 45.77 kB / 0.7292 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/0.5518, allocations: 438.6 kB / 0.7296 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.5522, allocations: 311.8 kB / 0.7299 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004425/0.5527, allocations: 197.8 kB / 0.7301 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.5529, allocations: 350.2 kB / 0.7304 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.5545, allocations: 0.6756 MB / 0.7311 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.5563, allocations: 0.802 MB / 0.7319 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003229/0.5595, allocations: 1.46 MB / 0.7333 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.5596, allocations: 1.469 kB / 0.7333 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01474/0.5743, allocations: 4.167 MB / 0.7374 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.5743, allocations: 6.656 kB / 0.7374 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.5743, allocations: 2.031 kB / 0.7374 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00744/0.5818, allocations: 1.87 MB / 0.7392 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009685/0.5828, allocations: 175.3 kB / 0.7394 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02393/0.6067, allocations: 9.572 MB / 0.7487 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.6083, allocations: 163.2 kB / 0.7489 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.6084, allocations: 37.55 kB / 0.7489 GB, free: 12.16 MB / 0.5137 GB 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.0004933/0.6089, allocations: 218 kB / 0.7491 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.6091, allocations: 111.2 kB / 0.7492 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/0.6225, allocations: 3.845 MB / 0.753 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.6225, allocations: 8 kB / 0.753 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6225, allocations: 4 kB / 0.753 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/0.6225, allocations: 7.922 kB / 0.753 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.638, allocations: 5.329 MB / 0.7582 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.638, allocations: 0 / 0.7582 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/0.6387, allocations: 87.89 kB / 0.7583 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006269/0.645, allocations: 1.744 MB / 0.76 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/0.6452, allocations: 16 kB / 0.76 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01968/0.6649, allocations: 8.082 MB / 0.7679 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6649, allocations: 0 / 0.7679 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0153/0.6802, allocations: 4.682 MB / 0.7725 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.6806, allocations: 196.2 kB / 0.7727 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.6808, allocations: 19.98 kB / 0.7727 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000947/0.6817, allocations: 87.89 kB / 0.7728 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006688/0.6824, allocations: 204.7 kB / 0.773 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.6825, allocations: 20 kB / 0.773 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007533/0.6832, allocations: 0.5461 MB / 0.7735 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6832, allocations: 0 / 0.7735 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001353/0.6846, allocations: 427.5 kB / 0.7739 GB, free: 2.184 MB / 0.5294 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 (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.01557/0.7001, allocations: 5.257 MB / 0.7791 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007365/0.7075, allocations: 2.277 MB / 0.7813 GB, free: 10.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7075, allocations: 3.938 kB / 0.7813 GB, free: 10.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00483/0.7123, allocations: 1.465 MB / 0.7827 GB, free: 9.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008371/0.7132, allocations: 75.34 kB / 0.7828 GB, free: 9.047 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04005/0.7532, allocations: 14.59 MB / 0.797 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007056/0.7539, allocations: 1.037 MB / 0.798 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003972/0.7543, allocations: 82.3 kB / 0.7981 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005459/0.7549, allocations: 383.3 kB / 0.7985 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of SimCode: time 1.674e-06/0.7549, allocations: 0 / 0.7985 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06693/0.8218, allocations: 32.43 MB / 0.8302 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/16.33, allocations: 8 kB / 0.8302 GB, free: 8.461 MB / 0.5919 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.836327521014027] Failed to read output from testmodel.py, exit status != 0: 16.486093506973702 16.498950115 16.005059923 Calling exit ...