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.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.001304/0.001304, allocations: 113 kB / 17.12 MB, free: 5.938 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.001284/0.001284, allocations: 195.7 kB / 20.08 MB, free: 3 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.484/1.484, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8784/0.8784, allocations: 129.2 MB / 432.5 MB, free: 13.2 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 79.88 kB / 0.5987 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.41, allocations: 83.43 MB / 0.6802 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001591/0.4116, allocations: 0.5873 MB / 0.6808 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006199/0.4122, allocations: 335.4 kB / 0.6811 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.595e-05/0.4122, allocations: 0 / 0.6811 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.4122, allocations: 3.938 kB / 0.6811 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.4122, allocations: 4 kB / 0.6811 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.4126, allocations: 105 kB / 0.6812 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.837e-05/0.4127, allocations: 2.125 kB / 0.6812 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.4127, allocations: 5.016 kB / 0.6812 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.215e-05/0.4127, allocations: 0.9688 kB / 0.6812 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.957e-05/0.4127, allocations: 0 / 0.6812 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.4128, allocations: 1.062 kB / 0.6812 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003473/0.4131, allocations: 270 kB / 0.6815 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.4131, allocations: 5.344 kB / 0.6815 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.459e-05/0.4131, allocations: 3.984 kB / 0.6815 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.4133, allocations: 86.67 kB / 0.6816 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4133, allocations: 3.938 kB / 0.6816 GB, free: 5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.245e-06/0.4133, allocations: 1.156 kB / 0.6816 GB, free: 5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4133, allocations: 0 / 0.6816 GB, free: 5 MB / 0.4981 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.0002283/0.4135, allocations: 331.1 kB / 0.6819 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.4136, allocations: 10.41 kB / 0.6819 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.716e-05/0.4136, allocations: 34.73 kB / 0.6819 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.4136, allocations: 2.219 kB / 0.6819 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.667e-05/0.4137, allocations: 164.4 kB / 0.6821 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.4137, allocations: 8.312 kB / 0.6821 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.4137, allocations: 5.281 kB / 0.6821 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.788e-05/0.4138, allocations: 28.89 kB / 0.6821 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4138, allocations: 3.938 kB / 0.6821 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.4138, allocations: 0 / 0.6821 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.4138, allocations: 0 / 0.6821 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.604e-05/0.4138, allocations: 1.375 kB / 0.6821 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.269e-05/0.4139, allocations: 155 kB / 0.6823 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.047e-05/0.4139, allocations: 25.48 kB / 0.6823 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.4139, allocations: 4.859 kB / 0.6823 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003687/0.4143, allocations: 421.8 kB / 0.6827 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.4143, allocations: 38.56 kB / 0.6828 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.4143, allocations: 1.531 kB / 0.6828 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.4145, allocations: 38.28 kB / 0.6828 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.4145, allocations: 51.41 kB / 0.6828 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.374e-05/0.4145, allocations: 90.73 kB / 0.6829 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.4145, allocations: 25.7 kB / 0.683 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.021e-05/0.4145, allocations: 81.08 kB / 0.683 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.4145, allocations: 3.953 kB / 0.683 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.4146, allocations: 20.91 kB / 0.6831 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.4146, allocations: 314.8 kB / 0.6834 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-06/0.4146, allocations: 1.375 kB / 0.6834 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-06/0.4146, allocations: 1.125 kB / 0.6834 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.042e-05/0.4146, allocations: 11.3 kB / 0.6834 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4146, allocations: 0 / 0.6834 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.412e-05/0.4147, allocations: 35.19 kB / 0.6834 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4147, allocations: 5.562 kB / 0.6834 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4147, allocations: 7.938 kB / 0.6834 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.4147, allocations: 1.344 kB / 0.6834 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.711e-05/0.4148, allocations: 1.125 kB / 0.6834 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4148, allocations: 1.219 kB / 0.6834 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-06/0.4148, allocations: 3.938 kB / 0.6834 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.4148, allocations: 1.062 kB / 0.6834 GB, free: 2.863 MB / 0.4981 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 3.671e-05/0.4148, allocations: 114.9 kB / 0.6835 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.4148, allocations: 1.438 kB / 0.6835 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.612e-05/0.4149, allocations: 44.91 kB / 0.6836 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4149, allocations: 1.5 kB / 0.6836 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4149, allocations: 0 / 0.6836 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4149, allocations: 0 / 0.6836 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.376e-05/0.415, allocations: 147 kB / 0.6837 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.415, allocations: 0 / 0.6837 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.415, allocations: 6.125 kB / 0.6837 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.415, allocations: 0 / 0.6837 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.415, allocations: 5 kB / 0.6837 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.415, allocations: 0 / 0.6837 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.415, allocations: 9.125 kB / 0.6837 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.679e-05/0.415, allocations: 54.48 kB / 0.6838 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.4151, allocations: 82.28 kB / 0.6839 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.4151, allocations: 4.969 kB / 0.6839 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-06/0.4151, allocations: 0 / 0.6839 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.041e-05/0.4151, allocations: 5.109 kB / 0.6839 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.4151, allocations: 0 / 0.6839 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.19e-05/0.4151, allocations: 84.5 kB / 0.684 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4151, allocations: 0 / 0.684 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001959/0.4153, allocations: 8.562 kB / 0.684 GB, free: 2.238 MB / 0.4981 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.0002795/0.4156, allocations: 0.6098 MB / 0.6846 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.089e-05/0.4156, allocations: 7.312 kB / 0.6846 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4156, allocations: 0 / 0.6846 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.394e-06/0.4156, allocations: 10.17 kB / 0.6846 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.4158, allocations: 1.094 kB / 0.6846 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.416, allocations: 110.8 kB / 0.6847 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.4161, allocations: 0.6739 MB / 0.6853 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.451e-05/0.4161, allocations: 1.125 kB / 0.6853 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.379e-05/0.4161, allocations: 12.66 kB / 0.6854 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.4161, allocations: 0 / 0.6854 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.4393, allocations: 1.196 MB / 0.6865 GB, free: 88 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.484, allocations: 15.91 kB / 0.6865 GB, free: 76 kB / 0.4981 GB " [Timeout remaining time 651] (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: 11.922261531930417] Failed to read output from testmodel.py, exit status != 0: 8.554920641239733 8.577489763 8.159229499 Calling exit ...