Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 107.6 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 200.5 kB / 19.41 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002415/0.002415, allocations: 300.8 kB / 303 MB, free: 9.5 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.243/1.243, allocations: 180.9 MB / 0.5261 GB, free: 14.66 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 97.8 kB / 0.7248 GB, free: 39.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.17, allocations: 94.16 MB / 0.8168 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001669/0.1717, allocations: 0.5821 MB / 0.8173 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006509/0.1723, allocations: 331 kB / 0.8177 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.548e-05/0.1724, allocations: 0 / 0.8177 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.1724, allocations: 0 / 0.8177 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-06/0.1724, allocations: 0 / 0.8177 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.1728, allocations: 108.3 kB / 0.8178 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.348e-05/0.1729, allocations: 3.984 kB / 0.8178 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.1729, allocations: 4 kB / 0.8178 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.517e-05/0.1729, allocations: 7.922 kB / 0.8178 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.778e-05/0.1729, allocations: 3.938 kB / 0.8178 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.1729, allocations: 0 / 0.8178 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.1734, allocations: 275.7 kB / 0.818 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.1734, allocations: 0 / 0.818 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.262e-05/0.1734, allocations: 0 / 0.818 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.1735, allocations: 84.08 kB / 0.8181 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1736, allocations: 3.984 kB / 0.8181 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1736, allocations: 4 kB / 0.8181 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.1736, allocations: 0 / 0.8181 GB, free: 3.934 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.0003399/0.1739, allocations: 339.3 kB / 0.8185 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1739, allocations: 12.03 kB / 0.8185 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.174, allocations: 30.75 kB / 0.8185 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.174, allocations: 0.9375 kB / 0.8185 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1741, allocations: 160.4 kB / 0.8186 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1741, allocations: 384 / 0.8186 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-06/0.1741, allocations: 384 / 0.8186 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.754e-05/0.1742, allocations: 34.27 kB / 0.8187 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1742, allocations: 7.875 kB / 0.8187 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.1742, allocations: 0 / 0.8187 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1743, allocations: 4 kB / 0.8187 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.016e-05/0.1743, allocations: 7.938 kB / 0.8187 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.1744, allocations: 149.7 kB / 0.8188 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.853e-05/0.1745, allocations: 14.58 kB / 0.8189 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.1745, allocations: 8.953 kB / 0.8189 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005315/0.175, allocations: 429.5 kB / 0.8193 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.175, allocations: 38.5 kB / 0.8193 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.175, allocations: 0 / 0.8193 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.1752, allocations: 41.56 kB / 0.8193 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.1752, allocations: 55.53 kB / 0.8194 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.226e-05/0.1753, allocations: 89.86 kB / 0.8195 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1753, allocations: 29.7 kB / 0.8195 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.1753, allocations: 80.14 kB / 0.8196 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1754, allocations: 7.953 kB / 0.8196 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.1754, allocations: 9.719 kB / 0.8196 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1755, allocations: 310.8 kB / 0.8199 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.1755, allocations: 4 kB / 0.8199 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.1755, allocations: 4 kB / 0.8199 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.1756, allocations: 8.859 kB / 0.8199 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1756, allocations: 0 / 0.8199 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.925e-05/0.1756, allocations: 41.62 kB / 0.82 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1756, allocations: 4 kB / 0.82 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1756, allocations: 7.922 kB / 0.82 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1757, allocations: 4 kB / 0.82 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.843e-05/0.1757, allocations: 0 / 0.82 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1757, allocations: 0 / 0.82 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.211e-05/0.1757, allocations: 4.094 kB / 0.82 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.1757, allocations: 0 / 0.82 GB, free: 1.707 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 7.515e-05/0.1758, allocations: 109.8 kB / 0.8201 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.1758, allocations: 0 / 0.8201 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.442e-05/0.1759, allocations: 48.69 kB / 0.8201 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1759, allocations: 0 / 0.8201 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1759, allocations: 3.938 kB / 0.8201 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1759, allocations: 8.031 kB / 0.8201 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.176, allocations: 145.7 kB / 0.8203 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.176, allocations: 0 / 0.8203 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.086e-05/0.176, allocations: 0 / 0.8203 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.176, allocations: 0 / 0.8203 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.176, allocations: 7.938 kB / 0.8203 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.176, allocations: 0 / 0.8203 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.176, allocations: 0 / 0.8203 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.113e-05/0.1761, allocations: 61.12 kB / 0.8203 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.1762, allocations: 81.11 kB / 0.8204 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.1762, allocations: 3.938 kB / 0.8204 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-06/0.1762, allocations: 0 / 0.8204 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.1762, allocations: 7.938 kB / 0.8204 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.1762, allocations: 0 / 0.8204 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.949e-05/0.1762, allocations: 75.28 kB / 0.8205 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1762, allocations: 3.938 kB / 0.8205 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001849/0.1764, allocations: 12 kB / 0.8205 GB, free: 1.051 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.0004607/0.1769, allocations: 0.6085 MB / 0.8211 GB, free: 420 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.747e-05/0.1769, allocations: 7.984 kB / 0.8211 GB, free: 412 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1769, allocations: 0 / 0.8211 GB, free: 412 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.075e-06/0.1769, allocations: 7.938 kB / 0.8211 GB, free: 404 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.1771, allocations: 7.562 kB / 0.8211 GB, free: 400 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.1774, allocations: 114.6 kB / 0.8212 GB, free: 244 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1776, allocations: 0.6729 MB / 0.8219 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.662e-05/0.1777, allocations: 4 kB / 0.8219 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.1777, allocations: 8.812 kB / 0.8219 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.1777, allocations: 0 / 0.8219 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.201, allocations: 1.211 MB / 0.8231 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/8.021, allocations: 12.5 kB / 0.8231 GB, free: 14.45 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.15063017886132] Failed to read output from testmodel.py, exit status != 0: 8.085608840920031 8.100549812 7.92423741 Calling exit ...