Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.001309/0.001309, allocations: 107.8 kB / 16.45 MB, free: 6.453 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.443/1.443, allocations: 230.6 MB / 249.8 MB, free: 9.203 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.001626/0.001626, allocations: 213.8 kB / 306 MB, free: 4.27 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.5615/0.5615, allocations: 101.3 MB / 463.4 MB, free: 11.86 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.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.002484/0.002484, allocations: 87.88 kB / 0.6193 GB, free: 15.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1443, allocations: 78.58 MB / 0.6961 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.2751/0.4194, allocations: 5.744 MB / 0.7017 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003496/0.4229, allocations: 1.78 MB / 0.7034 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007889/0.4236, allocations: 9.688 kB / 0.7034 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005742/0.4242, allocations: 208.5 kB / 0.7036 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.4262, allocations: 0.7289 MB / 0.7043 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.4276, allocations: 0.5596 MB / 0.7049 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001843/0.4294, allocations: 1.241 MB / 0.7061 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003659/0.4298, allocations: 188.6 kB / 0.7063 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008419/0.4306, allocations: 0.5397 MB / 0.7068 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000646/0.4312, allocations: 0.6392 MB / 0.7074 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.4314, allocations: 87.09 kB / 0.7075 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005624/0.4319, allocations: 237.5 kB / 0.7077 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.4321, allocations: 239.1 kB / 0.7079 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003854/0.4325, allocations: 0.5336 MB / 0.7085 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.4342, allocations: 1.364 MB / 0.7098 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4342, allocations: 3.938 kB / 0.7098 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4342, allocations: 0 / 0.7098 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.696e-05/0.4342, allocations: 4 kB / 0.7098 GB, free: 0.9844 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.008103/0.4423, allocations: 2.382 MB / 0.7121 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4424, allocations: 12.2 kB / 0.7121 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000171/0.4425, allocations: 113.4 kB / 0.7123 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005361/0.4479, allocations: 0.7597 MB / 0.713 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.4494, allocations: 0.715 MB / 0.7137 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003302/0.4497, allocations: 247.7 kB / 0.7139 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.4499, allocations: 68.59 kB / 0.714 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.4521, allocations: 0.946 MB / 0.7149 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.4522, allocations: 0 / 0.7149 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-05/0.4523, allocations: 23 kB / 0.7149 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.4523, allocations: 18.53 kB / 0.715 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.4545, allocations: 0.9689 MB / 0.7159 GB, free: 14.21 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.006663/0.4612, allocations: 3.138 MB / 0.719 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.4637, allocations: 1.228 MB / 0.7202 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.4654, allocations: 0.6205 MB / 0.7208 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.4655, allocations: 17.69 kB / 0.7208 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.4655, allocations: 42.36 kB / 0.7208 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=81): time 2.835e-06/0.4655, allocations: 1.406 kB / 0.7208 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=81): time 0.0306/0.4961, allocations: 6.67 MB / 0.7273 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.4962, allocations: 64.38 kB / 0.7274 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.4973, allocations: 0.7824 MB / 0.7282 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002117/0.4976, allocations: 41.77 kB / 0.7282 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.4979, allocations: 446.4 kB / 0.7286 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/0.4983, allocations: 306.5 kB / 0.7289 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004076/0.4987, allocations: 173.2 kB / 0.7291 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4989, allocations: 351.5 kB / 0.7294 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.5005, allocations: 0.6416 MB / 0.7301 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.5022, allocations: 0.7648 MB / 0.7308 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0199/0.5221, allocations: 4.56 MB / 0.7353 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.5221, allocations: 1.219 kB / 0.7353 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01471/0.5368, allocations: 4.009 MB / 0.7392 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.5368, allocations: 10.59 kB / 0.7392 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.5369, allocations: 2.75 kB / 0.7392 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007132/0.544, allocations: 1.864 MB / 0.741 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.545, allocations: 160.5 kB / 0.7412 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02439/0.5694, allocations: 9.101 MB / 0.75 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.571, allocations: 151.3 kB / 0.7502 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.5711, allocations: 35.98 kB / 0.7502 GB, free: 10.05 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order21.delta:VARIABLE(flow=false start = order21.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real 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 (92): * Single equations (assignments): 91 * 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 prepare postOptimizeDAE: time 0.0005714/0.5717, allocations: 227 kB / 0.7504 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/0.5719, allocations: 115.2 kB / 0.7506 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/0.5867, allocations: 3.782 MB / 0.7542 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.5867, allocations: 8 kB / 0.7543 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5867, allocations: 0 / 0.7543 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.533e-05/0.5867, allocations: 15.92 kB / 0.7543 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/0.6038, allocations: 5.283 MB / 0.7594 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.6038, allocations: 3.938 kB / 0.7594 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005742/0.6044, allocations: 87.89 kB / 0.7595 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006784/0.6112, allocations: 1.745 MB / 0.7612 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.6113, allocations: 12 kB / 0.7612 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02153/0.6329, allocations: 8.088 MB / 0.7691 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6329, allocations: 0 / 0.7691 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01656/0.6494, allocations: 4.666 MB / 0.7737 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.6498, allocations: 196.2 kB / 0.7739 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.65, allocations: 16 kB / 0.7739 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.651, allocations: 91.95 kB / 0.774 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006757/0.6517, allocations: 200.7 kB / 0.7742 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.316e-05/0.6518, allocations: 16 kB / 0.7742 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007914/0.6526, allocations: 0.5341 MB / 0.7747 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6526, allocations: 3.938 kB / 0.7747 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001362/0.6539, allocations: 403.7 kB / 0.7751 GB, free: 236 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * 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 (48): * Single equations (assignments): 47 * 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.01731/0.6712, allocations: 5.231 MB / 0.7802 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007435/0.6787, allocations: 2.194 MB / 0.7823 GB, free: 8.754 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.6787, allocations: 0 / 0.7823 GB, free: 8.754 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005238/0.6839, allocations: 1.439 MB / 0.7837 GB, free: 7.309 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008425/0.6848, allocations: 78.12 kB / 0.7838 GB, free: 7.238 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04057/0.7253, allocations: 13.94 MB / 0.7974 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007348/0.7261, allocations: 1.025 MB / 0.7984 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003752/0.7265, allocations: 74.19 kB / 0.7985 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/0.727, allocations: 379.3 kB / 0.7989 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/0.727, allocations: 0 / 0.7989 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07115/0.7982, allocations: 30.93 MB / 0.8291 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.5/17.3, allocations: 13.61 kB / 0.8291 GB, free: 8.785 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.843706573126838] Failed to read output from testmodel.py, exit status != 0: 17.412492342060432 17.439416015 16.99970403 Calling exit ...