Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009959/0.0009959, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0009495/0.0009495, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9266/0.9266, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5695/0.5695, allocations: 114 MB / 373.9 MB, free: 8.691 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.5542 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.059e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001904/0.001924, allocations: 1.45 MB / 0.5556 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005269/0.002451, allocations: 358.8 kB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.002483, allocations: 0 / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/0.002511, allocations: 3.938 kB / 0.556 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.264e-05/0.002554, allocations: 3.938 kB / 0.556 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.002958, allocations: 115.6 kB / 0.5561 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.798e-05/0.003026, allocations: 27.92 kB / 0.5561 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.202e-05/0.003118, allocations: 4 kB / 0.5561 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.559e-05/0.003173, allocations: 15.98 kB / 0.5561 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.28e-05/0.003206, allocations: 7.938 kB / 0.5561 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.003221, allocations: 4 kB / 0.5561 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.003476, allocations: 259.6 kB / 0.5564 GB, free: 496 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.003492, allocations: 4 kB / 0.5564 GB, free: 492 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.003508, allocations: 4 kB / 0.5564 GB, free: 488 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.003701, allocations: 147.5 kB / 0.5565 GB, free: 340 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.003703, allocations: 0 / 0.5565 GB, free: 340 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003705, allocations: 0 / 0.5565 GB, free: 340 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.003709, allocations: 0 / 0.5565 GB, free: 340 kB / 0.5105 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.0003402/0.004049, allocations: 294 kB / 0.5568 GB, free: 12 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.004089, allocations: 12.62 kB / 0.5568 GB, free: 0 / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.004126, allocations: 30.75 kB / 0.5568 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.004169, allocations: 4.938 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.28e-05/0.004242, allocations: 109.8 kB / 0.557 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.004251, allocations: 384 / 0.557 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.004259, allocations: 8.375 kB / 0.557 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.004382, allocations: 54.22 kB / 0.557 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.004389, allocations: 192 / 0.557 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-06/0.004396, allocations: 4.375 kB / 0.557 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.0044, allocations: 4.125 kB / 0.557 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.571e-05/0.004486, allocations: 39.89 kB / 0.5571 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.004745, allocations: 216 kB / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.964e-05/0.004824, allocations: 34.56 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.004869, allocations: 24.91 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003017/0.005171, allocations: 75.91 kB / 0.5574 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.005194, allocations: 38.5 kB / 0.5574 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.005195, allocations: 0 / 0.5574 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002357/0.00543, allocations: 89.58 kB / 0.5575 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.005459, allocations: 51.41 kB / 0.5576 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.805e-05/0.005517, allocations: 105.8 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.005526, allocations: 25.7 kB / 0.5577 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.005564, allocations: 96.03 kB / 0.5578 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.005579, allocations: 3.938 kB / 0.5578 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.005603, allocations: 13.72 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.005686, allocations: 314.8 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/0.005731, allocations: 24.09 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.005767, allocations: 15.98 kB / 0.5581 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.869e-05/0.005845, allocations: 40.77 kB / 0.5582 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.005847, allocations: 0 / 0.5582 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001181/0.005965, allocations: 77.55 kB / 0.5583 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.005978, allocations: 8.094 kB / 0.5583 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.005982, allocations: 0 / 0.5583 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.005994, allocations: 0 / 0.5583 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.006052, allocations: 11.98 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.006056, allocations: 0 / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.006077, allocations: 4 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.006083, allocations: 3.984 kB / 0.5583 GB, free: 14.34 MB / 0.5261 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 5.355e-05/0.006137, allocations: 105.8 kB / 0.5584 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.006157, allocations: 7.938 kB / 0.5584 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.0063, allocations: 81.22 kB / 0.5585 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.006302, allocations: 0 / 0.5585 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.006307, allocations: 256 / 0.5585 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.00631, allocations: 0 / 0.5585 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.006417, allocations: 132.8 kB / 0.5586 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.006418, allocations: 0 / 0.5586 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.006442, allocations: 7.984 kB / 0.5586 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.006445, allocations: 3.938 kB / 0.5586 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.006451, allocations: 0 / 0.5586 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.006452, allocations: 8.031 kB / 0.5586 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006453, allocations: 0 / 0.5586 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.006581, allocations: 163.5 kB / 0.5588 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.006589, allocations: 11.94 kB / 0.5588 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.168e-06/0.006598, allocations: 3.938 kB / 0.5588 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.498e-05/0.006633, allocations: 11.92 kB / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.006661, allocations: 0 / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.006664, allocations: 0 / 0.5588 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.801e-05/0.006692, allocations: 91.3 kB / 0.5589 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.006692, allocations: 7.938 kB / 0.5589 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000153/0.006845, allocations: 12 kB / 0.5589 GB, free: 13.62 MB / 0.5261 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.0003627/0.007208, allocations: 0.7045 MB / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.007329, allocations: 47.89 kB / 0.5596 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.007331, allocations: 4.094 kB / 0.5596 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.798e-05/0.007369, allocations: 19.98 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.00758, allocations: 2.188 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.007902, allocations: 150.4 kB / 0.5598 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.231e-05/0.007944, allocations: 63.34 kB / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.739e-05/0.007962, allocations: 0 / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.007989, allocations: 12.5 kB / 0.5599 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/0.007989, allocations: 4.062 kB / 0.5599 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.02681, allocations: 2.271 MB / 0.5621 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/6.952, allocations: 4.312 kB / 0.5621 GB, free: 10.41 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.58671888615936] Failed to read output from testmodel.py, exit status != 0: 7.035147158429027 7.044390395 7.038789766 Calling exit ...