Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.001309/0.001309, allocations: 105 kB / 20.48 MB, free: 1.488 MB / 14.72 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.001434/0.001434, allocations: 215.4 kB / 23.79 MB, free: 4.703 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.487/1.487, allocations: 230.6 MB / 257.6 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.9501/0.9501, allocations: 150 MB / 464 MB, free: 10.49 MB / 366.1 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.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002221/0.002221, allocations: 71.06 kB / 0.6421 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1666, allocations: 89.16 MB / 0.7291 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001673/0.1683, allocations: 0.5937 MB / 0.7297 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006734/0.169, allocations: 330.8 kB / 0.73 GB, free: 336 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.82e-05/0.169, allocations: 4 kB / 0.73 GB, free: 332 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.169, allocations: 0 / 0.73 GB, free: 332 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.169, allocations: 0 / 0.73 GB, free: 332 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.1695, allocations: 107.7 kB / 0.7301 GB, free: 224 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.857e-05/0.1695, allocations: 0 / 0.7301 GB, free: 224 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.1695, allocations: 0 / 0.7301 GB, free: 224 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.231e-05/0.1695, allocations: 0 / 0.7301 GB, free: 224 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.615e-05/0.1696, allocations: 4 kB / 0.7302 GB, free: 220 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1696, allocations: 3.984 kB / 0.7302 GB, free: 216 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000459/0.17, allocations: 279.6 kB / 0.7304 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.1701, allocations: 11.94 kB / 0.7304 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.1701, allocations: 0 / 0.7304 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1703, allocations: 88.02 kB / 0.7305 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1703, allocations: 0 / 0.7305 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1703, allocations: 0 / 0.7305 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1703, allocations: 3.938 kB / 0.7305 GB, free: 15.84 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003216/0.1706, allocations: 258.2 kB / 0.7308 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1706, allocations: 12.03 kB / 0.7308 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.4e-05/0.1706, allocations: 4.188 kB / 0.7308 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.723e-05/0.1707, allocations: 34.69 kB / 0.7308 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.1707, allocations: 0.9375 kB / 0.7308 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.445e-05/0.1708, allocations: 106.5 kB / 0.7309 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.1708, allocations: 384 / 0.7309 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-06/0.1708, allocations: 4.375 kB / 0.7309 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.06e-05/0.1709, allocations: 30.02 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1709, allocations: 0 / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.1709, allocations: 0 / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1709, allocations: 4 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.178e-05/0.1709, allocations: 7.938 kB / 0.731 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.1711, allocations: 116.8 kB / 0.7311 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.282e-05/0.1711, allocations: 22.61 kB / 0.7311 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.1711, allocations: 4.859 kB / 0.7311 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003435/0.1715, allocations: 44.02 kB / 0.7311 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1715, allocations: 38.5 kB / 0.7312 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/0.1715, allocations: 0 / 0.7312 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001451/0.1717, allocations: 33.64 kB / 0.7312 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1717, allocations: 51.41 kB / 0.7313 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.972e-05/0.1717, allocations: 89.86 kB / 0.7313 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1718, allocations: 25.7 kB / 0.7314 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.1718, allocations: 92.25 kB / 0.7315 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.1718, allocations: 7.953 kB / 0.7315 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.1718, allocations: 9.719 kB / 0.7315 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.172, allocations: 314.8 kB / 0.7318 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.172, allocations: 0 / 0.7318 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.195e-06/0.172, allocations: 4 kB / 0.7318 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.283e-05/0.172, allocations: 4.859 kB / 0.7318 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.172, allocations: 12 kB / 0.7318 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.387e-05/0.1721, allocations: 37.64 kB / 0.7318 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1721, allocations: 7.938 kB / 0.7318 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1721, allocations: 0 / 0.7318 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1722, allocations: 0 / 0.7318 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.556e-05/0.1722, allocations: 4 kB / 0.7318 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1722, allocations: 3.984 kB / 0.7318 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.39e-05/0.1722, allocations: 0 / 0.7318 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.1722, allocations: 0 / 0.7318 GB, free: 14.28 MB / 0.5606 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 (1): * Single equations (assignments): 1 * 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 8.567e-05/0.1723, allocations: 113.9 kB / 0.732 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.1723, allocations: 3.938 kB / 0.732 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.1724, allocations: 40.64 kB / 0.732 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.1724, allocations: 0 / 0.732 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1724, allocations: 0 / 0.732 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1724, allocations: 3.984 kB / 0.732 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.748e-05/0.1725, allocations: 124.7 kB / 0.7321 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1725, allocations: 0 / 0.7321 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.1726, allocations: 0 / 0.7321 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.1726, allocations: 7.969 kB / 0.7321 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.1726, allocations: 4 kB / 0.7321 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1726, allocations: 0 / 0.7321 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1726, allocations: 0 / 0.7321 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.475e-05/0.1727, allocations: 57.12 kB / 0.7322 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-06/0.1727, allocations: 4 kB / 0.7322 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.1727, allocations: 3.938 kB / 0.7322 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-06/0.1727, allocations: 3.984 kB / 0.7322 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.1727, allocations: 7.969 kB / 0.7322 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.1727, allocations: 0 / 0.7322 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.295e-05/0.1727, allocations: 75.28 kB / 0.7323 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1727, allocations: 0 / 0.7323 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001995/0.1729, allocations: 19.92 kB / 0.7323 GB, free: 13.74 MB / 0.5606 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 (1): * Single equations (assignments): 1 * 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.0004624/0.1734, allocations: 0.6046 MB / 0.7329 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.914e-05/0.1735, allocations: 4 kB / 0.7329 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1735, allocations: 0 / 0.7329 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.706e-06/0.1735, allocations: 3.938 kB / 0.7329 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.1736, allocations: 11.94 kB / 0.7329 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.1739, allocations: 108.3 kB / 0.733 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1742, allocations: 0.6729 MB / 0.7337 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.451e-05/0.1742, allocations: 4.125 kB / 0.7337 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.1743, allocations: 7.438 kB / 0.7337 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.1743, allocations: 0 / 0.7337 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.1962, allocations: 1.315 MB / 0.735 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.28, allocations: 4.875 kB / 0.735 GB, free: 11.07 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.144513507955708] Failed to read output from testmodel.py, exit status != 0: 11.448558099975344 11.471893998 11.296920506 Calling exit ...