Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.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.0007897/0.0007897, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] 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.0009545/0.0009545, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.878/0.878, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001446/0.001446, allocations: 234.6 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6589/0.6589, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.457e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.00192/0.001944, allocations: 1.468 MB / 0.6477 GB, free: 380 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004946/0.002439, allocations: 355.6 kB / 0.6481 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.002469, allocations: 0 / 0.6481 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.002493, allocations: 0 / 0.6481 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.88e-05/0.002532, allocations: 19.84 kB / 0.6481 GB, free: 0 / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.003103, allocations: 100.5 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.696e-05/0.00319, allocations: 24 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.003297, allocations: 5.953 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.003362, allocations: 14.7 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.99e-05/0.003402, allocations: 8.125 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.003419, allocations: 4.484 kB / 0.6482 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.003756, allocations: 256.3 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.003773, allocations: 9.047 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.003795, allocations: 7.562 kB / 0.6485 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.004024, allocations: 136 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.004028, allocations: 0.5312 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.773e-06/0.00403, allocations: 0.9062 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.004035, allocations: 4.859 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003468/0.004382, allocations: 286.8 kB / 0.6489 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.004424, allocations: 12.67 kB / 0.6489 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.405e-05/0.004448, allocations: 34.69 kB / 0.649 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.004492, allocations: 5.344 kB / 0.649 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.983e-05/0.004552, allocations: 116 kB / 0.6491 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.004562, allocations: 1.375 kB / 0.6491 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.004569, allocations: 2.25 kB / 0.6491 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.004693, allocations: 47.95 kB / 0.6491 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.004699, allocations: 2.875 kB / 0.6491 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.004708, allocations: 2.062 kB / 0.6491 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.004713, allocations: 6.125 kB / 0.6491 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.577e-05/0.004809, allocations: 35.17 kB / 0.6492 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.005058, allocations: 218 kB / 0.6494 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.156e-05/0.005139, allocations: 37.75 kB / 0.6494 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.005188, allocations: 24.77 kB / 0.6494 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003433/0.005532, allocations: 76.8 kB / 0.6495 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.005547, allocations: 37.75 kB / 0.6495 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.005548, allocations: 1.797 kB / 0.6495 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002452/0.005793, allocations: 87.52 kB / 0.6496 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/0.005812, allocations: 52.12 kB / 0.6497 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.479e-05/0.005857, allocations: 105.2 kB / 0.6498 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.005862, allocations: 25.7 kB / 0.6498 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.005889, allocations: 90.28 kB / 0.6499 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.005904, allocations: 5.422 kB / 0.6499 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.005927, allocations: 15.44 kB / 0.6499 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.83e-05/0.005955, allocations: 315.1 kB / 0.6502 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.39e-05/0.005999, allocations: 19.34 kB / 0.6502 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/0.006038, allocations: 17.22 kB / 0.6502 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.239e-05/0.006121, allocations: 46.95 kB / 0.6503 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006122, allocations: 0 / 0.6503 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001219/0.006244, allocations: 73.22 kB / 0.6504 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.006257, allocations: 5.375 kB / 0.6504 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.006262, allocations: 0.875 kB / 0.6504 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.006274, allocations: 0 / 0.6504 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.011e-05/0.006334, allocations: 11.5 kB / 0.6504 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.006339, allocations: 0.9375 kB / 0.6504 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.006365, allocations: 9.688 kB / 0.6504 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.00637, allocations: 1.906 kB / 0.6504 GB, free: 54.39 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.006411, allocations: 112.9 kB / 0.6505 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.006431, allocations: 4.906 kB / 0.6505 GB, free: 54.28 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.006581, allocations: 77.22 kB / 0.6506 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.006583, allocations: 4.422 kB / 0.6506 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.006588, allocations: 3.859 kB / 0.6506 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.006591, allocations: 0.5625 kB / 0.6506 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.861e-05/0.00668, allocations: 126.3 kB / 0.6507 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006681, allocations: 1.469 kB / 0.6507 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.006712, allocations: 15.39 kB / 0.6507 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.006714, allocations: 3.938 kB / 0.6507 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.006721, allocations: 0.8125 kB / 0.6507 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.006723, allocations: 1.547 kB / 0.6507 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.006725, allocations: 2.25 kB / 0.6507 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.006861, allocations: 164.8 kB / 0.6509 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.006869, allocations: 11.22 kB / 0.6509 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.006881, allocations: 0.7812 kB / 0.6509 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.006918, allocations: 7.281 kB / 0.6509 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.006956, allocations: 9.984 kB / 0.6509 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.00696, allocations: 0.8438 kB / 0.6509 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.164e-05/0.006982, allocations: 82.98 kB / 0.651 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.006982, allocations: 1.156 kB / 0.651 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001674/0.007149, allocations: 14.53 kB / 0.651 GB, free: 53.87 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003082/0.007457, allocations: 0.7117 MB / 0.6517 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.007593, allocations: 43.19 kB / 0.6517 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007595, allocations: 0 / 0.6517 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.00764, allocations: 22.94 kB / 0.6518 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.007875, allocations: 2.656 kB / 0.6518 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.008204, allocations: 145.6 kB / 0.6519 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.008236, allocations: 61.36 kB / 0.652 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.016e-05/0.008257, allocations: 5.422 kB / 0.652 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.008286, allocations: 10.22 kB / 0.652 GB, free: 53 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/0.008287, allocations: 0 / 0.652 GB, free: 53 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.0243, allocations: 2.294 MB / 0.6542 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.329/6.354, allocations: 5.094 kB / 0.6542 GB, free: 52.18 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.180117755196989] Failed to read output from testmodel.py, exit status != 0: 6.65260773524642 6.661401858 6.434228448 Calling exit ...