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.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.0006818/0.0006818, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009429/0.001625, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001109/0.001109, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002467, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08164/1.089, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.001318/0.001318, allocations: 245.3 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.002392, allocations: 475 kB / 244.7 MB, free: 14.17 MB / 250.7 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 0.6899/0.6899, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07632/0.7662, allocations: 42.4 MB / 426.5 MB, free: 5.945 MB / 410.7 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.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: 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 1.563e-06/1.563e-06, allocations: 3.938 kB / 427.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.971e-05, allocations: 2.312 kB / 427.8 MB, free: 4.609 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.001867/0.001887, allocations: 1.541 MB / 429.3 MB, free: 3.055 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004332/0.00232, allocations: 367.4 kB / 429.7 MB, free: 2.691 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.002351, allocations: 4 kB / 429.7 MB, free: 2.688 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.002372, allocations: 3.938 kB / 429.7 MB, free: 2.684 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.272e-05/0.002395, allocations: 0 / 429.7 MB, free: 2.684 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.002639, allocations: 99.61 kB / 429.8 MB, free: 2.586 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.482e-05/0.002704, allocations: 27.86 kB / 429.8 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.51e-05/0.002779, allocations: 11.98 kB / 429.8 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.59e-05/0.002845, allocations: 19.98 kB / 429.9 MB, free: 2.527 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.841e-05/0.002883, allocations: 11.98 kB / 429.9 MB, free: 2.516 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.002897, allocations: 4 kB / 429.9 MB, free: 2.512 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.003199, allocations: 283.5 kB / 430.2 MB, free: 2.234 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.003213, allocations: 4 kB / 430.2 MB, free: 2.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.591e-05/0.003229, allocations: 8 kB / 430.2 MB, free: 2.223 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.003396, allocations: 103.8 kB / 430.3 MB, free: 2.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.304e-05/0.003409, allocations: 0 / 430.3 MB, free: 2.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.00341, allocations: 0 / 430.3 MB, free: 2.121 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.003421, allocations: 0 / 430.3 MB, free: 2.121 MB / 410.7 MB 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.0003275/0.003748, allocations: 268.3 kB / 430.5 MB, free: 1.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.003779, allocations: 8.031 kB / 430.5 MB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.274e-05/0.003862, allocations: 90.03 kB / 430.6 MB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.534e-05/0.003937, allocations: 109.8 kB / 430.7 MB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.003946, allocations: 4.375 kB / 430.7 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.003953, allocations: 384 / 430.7 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.518e-05/0.004048, allocations: 58.89 kB / 430.8 MB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004054, allocations: 192 / 430.8 MB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.00406, allocations: 384 / 430.8 MB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.004064, allocations: 384 / 430.8 MB, free: 1.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.638e-05/0.00409, allocations: 11.92 kB / 430.8 MB, free: 1.504 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.004284, allocations: 144.3 kB / 431 MB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.241e-05/0.004326, allocations: 22.61 kB / 431 MB, free: 1.316 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.36e-05/0.00434, allocations: 12.86 kB / 431 MB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.004605, allocations: 71.94 kB / 431.1 MB, free: 1.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.004625, allocations: 34.56 kB / 431.1 MB, free: 1.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.004626, allocations: 0 / 431.1 MB, free: 1.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001176/0.004744, allocations: 37.69 kB / 431.1 MB, free: 1.145 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.00477, allocations: 59.41 kB / 431.2 MB, free: 1.074 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.14e-05/0.004821, allocations: 114.7 kB / 431.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.00483, allocations: 25.7 kB / 431.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.00486, allocations: 88.08 kB / 431.4 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.004877, allocations: 7.938 kB / 431.4 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.0049, allocations: 17.72 kB / 431.4 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.005076, allocations: 310.8 kB / 431.7 MB, free: 496 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.005086, allocations: 3.938 kB / 431.7 MB, free: 492 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-06/0.005095, allocations: 7.984 kB / 431.8 MB, free: 484 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/0.005117, allocations: 8.859 kB / 431.8 MB, free: 472 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005119, allocations: 4.062 kB / 431.8 MB, free: 468 kB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.318e-05/0.005182, allocations: 37.69 kB / 431.8 MB, free: 424 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.005194, allocations: 4 kB / 431.8 MB, free: 420 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.005199, allocations: 4 kB / 431.8 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.005207, allocations: 0 / 431.8 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.814e-05/0.005265, allocations: 7.938 kB / 431.8 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.005269, allocations: 3.938 kB / 431.8 MB, free: 404 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.005285, allocations: 4 kB / 431.8 MB, free: 400 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.005289, allocations: 3.984 kB / 431.8 MB, free: 396 kB / 410.7 MB 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.482e-05/0.005334, allocations: 105.9 kB / 431.9 MB, free: 280 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.005359, allocations: 8 kB / 431.9 MB, free: 272 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/0.005421, allocations: 41.31 kB / 432 MB, free: 228 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.005425, allocations: 4 kB / 432 MB, free: 224 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.005428, allocations: 3.938 kB / 432 MB, free: 220 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.005431, allocations: 0 / 432 MB, free: 220 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8e-05/0.005511, allocations: 73.83 kB / 432.1 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.005513, allocations: 256 / 432.1 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.005538, allocations: 8 kB / 432.1 MB, free: 120 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-06/0.005545, allocations: 4 kB / 432.1 MB, free: 116 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.005547, allocations: 0 / 432.1 MB, free: 116 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.005551, allocations: 4.031 kB / 432.1 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005552, allocations: 0 / 432.1 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.005555, allocations: 3.938 kB / 432.1 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1843/0.1898, allocations: 133.9 kB / 432.2 MB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.1898, allocations: 3.094 kB / 432.2 MB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.1899, allocations: 3.812 kB / 432.2 MB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.19, allocations: 4.172 kB / 432.2 MB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.19, allocations: 0.9375 kB / 432.2 MB, free: 2.457 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.041e-05/0.19, allocations: 15.89 kB / 432.2 MB, free: 2.449 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.19, allocations: 0 / 432.2 MB, free: 2.449 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001965/0.1902, allocations: 17.92 kB / 432.3 MB, free: 2.449 MB / 410.7 MB 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.0001458/0.1903, allocations: 91.06 kB / 432.3 MB, free: 2.383 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.726e-05/0.1904, allocations: 16.64 kB / 432.4 MB, free: 2.375 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1904, allocations: 2.156 kB / 432.4 MB, free: 2.375 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.1904, allocations: 10.34 kB / 432.4 MB, free: 2.367 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.1906, allocations: 11.09 kB / 432.4 MB, free: 2.367 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.191, allocations: 114.2 kB / 432.5 MB, free: 2.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.949e-05/0.191, allocations: 56.69 kB / 432.6 MB, free: 2.199 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.363e-05/0.191, allocations: 1.031 kB / 432.6 MB, free: 2.199 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.1911, allocations: 51.25 kB / 432.6 MB, free: 2.156 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1911, allocations: 0.6562 kB / 432.6 MB, free: 2.156 MB / 410.7 MB Notification: Performance of Templates: time 0.003069/0.1941, allocations: 0.7958 MB / 433.4 MB, free: 2.137 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.405976925045252]