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.001439/0.001439, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001364/0.001364, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.347/1.347, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.002252/0.002252, allocations: 281.6 kB / 303.6 MB, free: 3.773 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.021/1.021, allocations: 180.9 MB / 0.5268 GB, free: 2.688 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: translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 103.8 kB / 0.7259 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5064, allocations: 94.15 MB / 0.8179 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.00212/0.5085, allocations: 1.444 MB / 0.8193 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005725/0.5091, allocations: 388.2 kB / 0.8196 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.5091, allocations: 3.938 kB / 0.8197 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.5092, allocations: 3.938 kB / 0.8197 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.882e-05/0.5092, allocations: 5.766 kB / 0.8197 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.5096, allocations: 116.5 kB / 0.8198 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.406e-05/0.5096, allocations: 25.33 kB / 0.8198 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.5097, allocations: 5.375 kB / 0.8198 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.652e-05/0.5098, allocations: 8.125 kB / 0.8198 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.433e-05/0.5098, allocations: 14.58 kB / 0.8198 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.5098, allocations: 2.844 kB / 0.8198 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.5102, allocations: 283 kB / 0.8201 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.5102, allocations: 4.781 kB / 0.8201 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.5102, allocations: 11.09 kB / 0.8201 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.5104, allocations: 115 kB / 0.8202 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5104, allocations: 0 / 0.8202 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5104, allocations: 0 / 0.8202 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.5104, allocations: 0 / 0.8202 GB, free: 5.961 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.0003693/0.5108, allocations: 364.7 kB / 0.8206 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.5108, allocations: 9 kB / 0.8206 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.5108, allocations: 14.19 kB / 0.8206 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.064e-05/0.5109, allocations: 162.2 kB / 0.8207 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.5109, allocations: 1.25 kB / 0.8207 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.5109, allocations: 5.25 kB / 0.8208 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.5111, allocations: 56.97 kB / 0.8208 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5111, allocations: 192 / 0.8208 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.5111, allocations: 7.266 kB / 0.8208 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.5111, allocations: 1.25 kB / 0.8208 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.5113, allocations: 33.03 kB / 0.8208 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.5115, allocations: 255.6 kB / 0.8211 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.5116, allocations: 41.34 kB / 0.8211 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.072e-05/0.5117, allocations: 24.56 kB / 0.8212 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005381/0.5122, allocations: 462.9 kB / 0.8216 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.5123, allocations: 31.94 kB / 0.8216 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.5123, allocations: 0 / 0.8216 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003367/0.5126, allocations: 91.95 kB / 0.8217 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.625e-05/0.5126, allocations: 51.41 kB / 0.8218 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.566e-05/0.5127, allocations: 104.3 kB / 0.8219 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/0.5127, allocations: 25.7 kB / 0.8219 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.17e-05/0.5127, allocations: 82.3 kB / 0.822 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.5127, allocations: 9.016 kB / 0.822 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.5127, allocations: 11.81 kB / 0.822 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.5128, allocations: 315 kB / 0.8223 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.773e-05/0.5128, allocations: 24.44 kB / 0.8223 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.681e-05/0.5129, allocations: 21.31 kB / 0.8223 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.5131, allocations: 39.38 kB / 0.8224 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5131, allocations: 0 / 0.8224 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001858/0.5132, allocations: 72.66 kB / 0.8224 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.5133, allocations: 7.188 kB / 0.8224 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.5133, allocations: 0.6094 kB / 0.8224 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5133, allocations: 1.156 kB / 0.8224 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.457e-05/0.5133, allocations: 8.188 kB / 0.8224 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.5133, allocations: 1.25 kB / 0.8225 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.5134, allocations: 17.8 kB / 0.8225 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.5134, allocations: 1.609 kB / 0.8225 GB, free: 3.742 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.311e-05/0.5134, allocations: 119.9 kB / 0.8226 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.5135, allocations: 5.359 kB / 0.8226 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.5137, allocations: 78.34 kB / 0.8227 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5137, allocations: 0 / 0.8227 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5137, allocations: 1.625 kB / 0.8227 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.5137, allocations: 0 / 0.8227 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.5138, allocations: 166.3 kB / 0.8228 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5138, allocations: 32 / 0.8228 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.5139, allocations: 12.97 kB / 0.8228 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5139, allocations: 0.625 kB / 0.8228 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.5139, allocations: 0.6562 kB / 0.8228 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5139, allocations: 0.5625 kB / 0.8228 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5139, allocations: 0.9062 kB / 0.8228 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.5141, allocations: 171.5 kB / 0.823 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.5141, allocations: 79.14 kB / 0.8231 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.5141, allocations: 1.688 kB / 0.8231 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.5142, allocations: 6.219 kB / 0.8231 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.5142, allocations: 2.094 kB / 0.8231 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.5142, allocations: 1.094 kB / 0.8231 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.382e-05/0.5142, allocations: 86.3 kB / 0.8232 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5142, allocations: 0 / 0.8232 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002201/0.5145, allocations: 16.77 kB / 0.8232 GB, free: 3.039 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.0001266/0.5146, allocations: 111 kB / 0.8233 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.5148, allocations: 39.3 kB / 0.8233 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5148, allocations: 3.938 kB / 0.8233 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.244e-05/0.5149, allocations: 21.64 kB / 0.8234 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.5151, allocations: 6.266 kB / 0.8234 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002324/0.5154, allocations: 147.2 kB / 0.8235 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.867e-05/0.5155, allocations: 0.6772 MB / 0.8242 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.5155, allocations: 8.906 kB / 0.8242 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.5155, allocations: 1.219 kB / 0.8242 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of Templates: time 0.002227/0.5177, allocations: 0.7102 MB / 0.8249 GB, free: 2.016 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.871015721932054] Failed to read output from testmodel.py, exit status != 0: 0.5246252289507538 0.535877139 0.022546295 Calling exit ...