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.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.001337/0.001337, allocations: 102.1 kB / 16.45 MB, free: 6.445 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.001383/0.001383, allocations: 188.6 kB / 19.4 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.455/1.455, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.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.003031/0.003031, allocations: 281.7 kB / 303 MB, free: 3.594 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.076/1.076, allocations: 180.9 MB / 0.5261 GB, free: 2.777 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.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 0.003081/0.003081, allocations: 99.84 kB / 0.7248 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5735/0.5766, allocations: 94.15 MB / 0.8167 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.00217/0.5787, allocations: 1.459 MB / 0.8181 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005857/0.5793, allocations: 391.4 kB / 0.8185 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.5793, allocations: 1.031 kB / 0.8185 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.5794, allocations: 4 kB / 0.8185 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.246e-05/0.5794, allocations: 4.906 kB / 0.8185 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.5798, allocations: 114.5 kB / 0.8186 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.56e-05/0.5798, allocations: 21.08 kB / 0.8187 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.552e-05/0.5799, allocations: 9.766 kB / 0.8187 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.367e-05/0.5799, allocations: 3.156 kB / 0.8187 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.179e-05/0.58, allocations: 15.42 kB / 0.8187 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.58, allocations: 6.125 kB / 0.8187 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.5803, allocations: 278 kB / 0.819 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.5803, allocations: 9.438 kB / 0.819 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.5804, allocations: 17.56 kB / 0.819 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.5805, allocations: 106.2 kB / 0.8191 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5805, allocations: 0.9062 kB / 0.8191 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5805, allocations: 0 / 0.8191 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.5805, allocations: 0 / 0.8191 GB, free: 5.684 MB / 0.5762 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.0003573/0.5809, allocations: 364.7 kB / 0.8194 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.5809, allocations: 14.16 kB / 0.8194 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.484e-05/0.581, allocations: 30.75 kB / 0.8195 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.581, allocations: 7.203 kB / 0.8195 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.426e-05/0.5811, allocations: 170 kB / 0.8196 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-06/0.5811, allocations: 384 / 0.8196 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.5811, allocations: 2.031 kB / 0.8196 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.5812, allocations: 48.81 kB / 0.8197 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.5813, allocations: 3.938 kB / 0.8197 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-06/0.5813, allocations: 4 kB / 0.8197 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5813, allocations: 5.031 kB / 0.8197 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.5814, allocations: 36.83 kB / 0.8197 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.5816, allocations: 244.5 kB / 0.82 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.5818, allocations: 45.83 kB / 0.82 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.5818, allocations: 27.97 kB / 0.82 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005511/0.5824, allocations: 455.3 kB / 0.8205 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.193e-05/0.5824, allocations: 35.72 kB / 0.8205 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5824, allocations: 0 / 0.8205 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003305/0.5827, allocations: 91.45 kB / 0.8206 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.608e-05/0.5827, allocations: 52.19 kB / 0.8206 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.843e-05/0.5828, allocations: 109.3 kB / 0.8208 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.5828, allocations: 25.7 kB / 0.8208 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.361e-05/0.5828, allocations: 89.3 kB / 0.8209 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.5828, allocations: 9.625 kB / 0.8209 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.5829, allocations: 19.27 kB / 0.8209 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.773e-05/0.5829, allocations: 315.5 kB / 0.8212 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.583, allocations: 12.48 kB / 0.8212 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.4e-05/0.583, allocations: 20.73 kB / 0.8212 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.5832, allocations: 42.42 kB / 0.8213 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5832, allocations: 3.938 kB / 0.8213 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001714/0.5833, allocations: 71.73 kB / 0.8213 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.5833, allocations: 5.406 kB / 0.8213 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.5834, allocations: 0 / 0.8213 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5834, allocations: 0 / 0.8213 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.5834, allocations: 13.66 kB / 0.8214 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.5834, allocations: 1.062 kB / 0.8214 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.5835, allocations: 7.141 kB / 0.8214 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.5835, allocations: 0 / 0.8214 GB, free: 3.422 MB / 0.5762 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.001e-05/0.5835, allocations: 112.5 kB / 0.8215 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.5836, allocations: 5.328 kB / 0.8215 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.5838, allocations: 81.03 kB / 0.8215 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5838, allocations: 5.453 kB / 0.8216 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5838, allocations: 0 / 0.8216 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5838, allocations: 3.469 kB / 0.8216 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.5839, allocations: 158.2 kB / 0.8217 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5839, allocations: 3 kB / 0.8217 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.5839, allocations: 6.594 kB / 0.8217 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5839, allocations: 0.8438 kB / 0.8217 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.5839, allocations: 1.656 kB / 0.8217 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5839, allocations: 0 / 0.8217 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5839, allocations: 0 / 0.8217 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.5841, allocations: 168.9 kB / 0.8219 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.5842, allocations: 83.03 kB / 0.822 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.5842, allocations: 0.5156 kB / 0.822 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.5842, allocations: 10.16 kB / 0.822 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.5843, allocations: 6.156 kB / 0.822 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.5843, allocations: 5.656 kB / 0.822 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.419e-05/0.5843, allocations: 85.59 kB / 0.8221 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5843, allocations: 0 / 0.8221 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002245/0.5845, allocations: 20.86 kB / 0.8221 GB, free: 2.711 MB / 0.5762 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.0003952/0.5849, allocations: 0.722 MB / 0.8228 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.5851, allocations: 38.86 kB / 0.8228 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5851, allocations: 0 / 0.8228 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.773e-05/0.5852, allocations: 21.64 kB / 0.8228 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.5855, allocations: 4.312 kB / 0.8229 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.5858, allocations: 136.9 kB / 0.823 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.5862, allocations: 0.6777 MB / 0.8236 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.239e-05/0.5862, allocations: 5.141 kB / 0.8236 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.5862, allocations: 13.77 kB / 0.8237 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5862, allocations: 0 / 0.8237 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.6098, allocations: 1.622 MB / 0.8252 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.418, allocations: 14.47 kB / 0.8253 GB, free: 16.77 MB / 0.5919 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 12.351834189146757] Failed to read output from testmodel.py, exit status != 0: 8.48506333725527 8.498271505 7.914439589 Calling exit ...