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.001523/0.001523, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.482/1.482, allocations: 230.6 MB / 249.8 MB, free: 9.219 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.001544/0.001544, allocations: 215.3 kB / 306 MB, free: 4.32 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.5974/0.5974, allocations: 101.3 MB / 463.4 MB, free: 11.91 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",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.002502/0.002502, allocations: 87.86 kB / 0.6193 GB, free: 15.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1449, allocations: 78.57 MB / 0.696 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.2874/0.4323, allocations: 5.898 MB / 0.7018 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003248/0.4356, allocations: 1.815 MB / 0.7036 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005739/0.4361, allocations: 14.88 kB / 0.7036 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004299/0.4366, allocations: 211.8 kB / 0.7038 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.438, allocations: 0.7466 MB / 0.7045 GB, free: 3.699 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.4391, allocations: 0.5687 MB / 0.7051 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.4404, allocations: 1.288 MB / 0.7063 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003323/0.4408, allocations: 191.8 kB / 0.7065 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006543/0.4414, allocations: 0.5531 MB / 0.7071 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006196/0.442, allocations: 0.6686 MB / 0.7077 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.4422, allocations: 92.72 kB / 0.7078 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.4426, allocations: 240.8 kB / 0.708 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.4428, allocations: 248.9 kB / 0.7083 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003783/0.4432, allocations: 0.5573 MB / 0.7088 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.4446, allocations: 1.402 MB / 0.7102 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4446, allocations: 0 / 0.7102 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4446, allocations: 3.156 kB / 0.7102 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.4447, allocations: 0 / 0.7102 GB, free: 0.8438 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.008255/0.4529, allocations: 2.429 MB / 0.7126 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.453, allocations: 15.78 kB / 0.7126 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001825/0.4531, allocations: 122.8 kB / 0.7127 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005076/0.4582, allocations: 0.7674 MB / 0.7134 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.4595, allocations: 0.7167 MB / 0.7141 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/0.4598, allocations: 254 kB / 0.7144 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.4599, allocations: 74.67 kB / 0.7145 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.462, allocations: 0.97 MB / 0.7154 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4621, allocations: 0 / 0.7154 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.436e-05/0.4622, allocations: 25.91 kB / 0.7154 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.4622, allocations: 18.09 kB / 0.7154 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.4644, allocations: 0.9808 MB / 0.7164 GB, free: 14.02 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.006506/0.4709, allocations: 3.214 MB / 0.7195 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.4734, allocations: 1.263 MB / 0.7208 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.4751, allocations: 0.6368 MB / 0.7214 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.4752, allocations: 15.88 kB / 0.7214 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.4753, allocations: 39.58 kB / 0.7214 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=84): time 2.805e-06/0.4753, allocations: 0 / 0.7214 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84): time 0.02859/0.5039, allocations: 6.343 MB / 0.7276 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.5039, allocations: 64.59 kB / 0.7277 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.5052, allocations: 0.8074 MB / 0.7285 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000208/0.5054, allocations: 41.14 kB / 0.7285 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.5058, allocations: 438.8 kB / 0.7289 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004109/0.5062, allocations: 320.2 kB / 0.7293 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004795/0.5067, allocations: 197.3 kB / 0.7294 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.5068, allocations: 354.9 kB / 0.7298 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/0.5085, allocations: 0.6718 MB / 0.7304 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.5103, allocations: 0.8052 MB / 0.7312 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/0.5137, allocations: 1.457 MB / 0.7326 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.5138, allocations: 1.094 kB / 0.7326 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01594/0.5297, allocations: 4.164 MB / 0.7367 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.5297, allocations: 5.688 kB / 0.7367 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.5297, allocations: 2.312 kB / 0.7367 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007929/0.5377, allocations: 1.868 MB / 0.7385 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009913/0.5387, allocations: 178.8 kB / 0.7387 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02612/0.5648, allocations: 9.568 MB / 0.7481 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.5664, allocations: 155.3 kB / 0.7482 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.5666, allocations: 43.98 kB / 0.7482 GB, free: 12.14 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.0006007/0.5672, allocations: 218 kB / 0.7485 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/0.5676, allocations: 119.2 kB / 0.7486 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01517/0.5828, allocations: 3.841 MB / 0.7523 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.5828, allocations: 8 kB / 0.7523 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5828, allocations: 3.062 kB / 0.7523 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/0.5828, allocations: 3.984 kB / 0.7523 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/0.6004, allocations: 5.325 MB / 0.7575 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.6004, allocations: 0 / 0.7575 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/0.601, allocations: 95.88 kB / 0.7576 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006847/0.6079, allocations: 1.741 MB / 0.7593 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.608, allocations: 16 kB / 0.7593 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02203/0.6301, allocations: 8.082 MB / 0.7672 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6301, allocations: 0 / 0.7672 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01682/0.6469, allocations: 4.686 MB / 0.7718 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.6473, allocations: 192.2 kB / 0.772 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/0.6476, allocations: 16 kB / 0.772 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.6487, allocations: 91.89 kB / 0.7721 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006898/0.6494, allocations: 204.7 kB / 0.7723 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-05/0.6495, allocations: 20.81 kB / 0.7723 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008851/0.6504, allocations: 0.5383 MB / 0.7728 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6504, allocations: 4 kB / 0.7728 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001512/0.6519, allocations: 431.6 kB / 0.7733 GB, free: 2.176 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.01732/0.6692, allocations: 5.261 MB / 0.7784 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00784/0.6771, allocations: 2.277 MB / 0.7806 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6771, allocations: 0 / 0.7806 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005234/0.6823, allocations: 1.453 MB / 0.782 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.6833, allocations: 90.23 kB / 0.7821 GB, free: 9.039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04362/0.7269, allocations: 14.59 MB / 0.7964 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008262/0.7278, allocations: 1.041 MB / 0.7974 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003794/0.7281, allocations: 78.3 kB / 0.7975 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/0.7288, allocations: 387.3 kB / 0.7978 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.7288, allocations: 4 kB / 0.7978 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07791/0.8067, allocations: 32.38 MB / 0.8294 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/17.1, allocations: 7.875 kB / 0.8295 GB, free: 8.484 MB / 0.5919 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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: 20.724293465958908] Failed to read output from testmodel.py, exit status != 0: 17.214998672017828 17.238184618000002 16.789237295 Calling exit ...