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.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.0008321/0.0008321, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007698/0.0007698, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.818/0.818, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001276/0.001276, allocations: 234.2 kB / 260.2 MB, free: 13.04 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.632/0.632, allocations: 138.4 MB / 455.1 MB, free: 29.96 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.6476 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.183e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0009808/0.001003, allocations: 0.5925 MB / 0.6482 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004467/0.001449, allocations: 287.6 kB / 0.6484 GB, free: 412 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.409e-05/0.001463, allocations: 0 / 0.6484 GB, free: 412 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.001478, allocations: 0 / 0.6484 GB, free: 412 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.749e-06/0.001487, allocations: 4 kB / 0.6484 GB, free: 408 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.00184, allocations: 113.7 kB / 0.6485 GB, free: 296 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.302e-05/0.001883, allocations: 8 kB / 0.6486 GB, free: 288 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.00192, allocations: 0 / 0.6486 GB, free: 288 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.315e-05/0.001943, allocations: 0 / 0.6486 GB, free: 288 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.094e-05/0.001964, allocations: 0 / 0.6486 GB, free: 288 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.001976, allocations: 4 kB / 0.6486 GB, free: 284 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.002236, allocations: 255.6 kB / 0.6488 GB, free: 28 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.002249, allocations: 4 kB / 0.6488 GB, free: 24 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.281e-05/0.002261, allocations: 4 kB / 0.6488 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.2351/0.2373, allocations: 109.1 kB / 0.6489 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2373, allocations: 2.094 kB / 0.6489 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2373, allocations: 0 / 0.6489 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2373, allocations: 0 / 0.6489 GB, free: 56.48 MB / 0.5573 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.0002004/0.2375, allocations: 255.1 kB / 0.6492 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2376, allocations: 10.97 kB / 0.6492 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.2376, allocations: 2.859 kB / 0.6492 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.36e-05/0.2376, allocations: 107.7 kB / 0.6493 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.2377, allocations: 384 / 0.6493 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-06/0.2377, allocations: 4.156 kB / 0.6493 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.448e-05/0.2377, allocations: 30.3 kB / 0.6493 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2377, allocations: 192 / 0.6493 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-06/0.2378, allocations: 384 / 0.6493 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.2378, allocations: 3.109 kB / 0.6493 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.2378, allocations: 8.75 kB / 0.6493 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.395e-05/0.2378, allocations: 98.02 kB / 0.6494 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.179e-05/0.2379, allocations: 17.94 kB / 0.6494 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.26e-05/0.2379, allocations: 7.547 kB / 0.6494 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002748/0.2382, allocations: 44.7 kB / 0.6495 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.2382, allocations: 32.38 kB / 0.6495 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.2382, allocations: 4.188 kB / 0.6495 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001141/0.2383, allocations: 36.53 kB / 0.6495 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.655e-05/0.2383, allocations: 52.94 kB / 0.6496 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.168e-05/0.2383, allocations: 90.47 kB / 0.6497 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-06/0.2383, allocations: 29.42 kB / 0.6497 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-06/0.2383, allocations: 83.7 kB / 0.6498 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.2384, allocations: 5.234 kB / 0.6498 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.2384, allocations: 13.83 kB / 0.6498 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.841e-05/0.2384, allocations: 316.7 kB / 0.6501 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.2384, allocations: 3.188 kB / 0.6501 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.2384, allocations: 3.172 kB / 0.6501 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.162e-05/0.2384, allocations: 11.33 kB / 0.6501 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2384, allocations: 0 / 0.6501 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.159e-05/0.2385, allocations: 34.16 kB / 0.6502 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.2385, allocations: 6.516 kB / 0.6502 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2385, allocations: 0.9062 kB / 0.6502 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2385, allocations: 0.8125 kB / 0.6502 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.522e-05/0.2385, allocations: 6 kB / 0.6502 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2385, allocations: 0.7188 kB / 0.6502 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-06/0.2386, allocations: 5.219 kB / 0.6502 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.2386, allocations: 3.906 kB / 0.6502 GB, free: 55.18 MB / 0.5573 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.194e-05/0.2386, allocations: 109.8 kB / 0.6503 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.2386, allocations: 5.328 kB / 0.6503 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.821e-05/0.2387, allocations: 41.73 kB / 0.6503 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2387, allocations: 1.25 kB / 0.6503 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2387, allocations: 0.75 kB / 0.6503 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2387, allocations: 0 / 0.6503 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.802e-05/0.2387, allocations: 101.2 kB / 0.6504 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2387, allocations: 0.5 kB / 0.6504 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.2387, allocations: 2.672 kB / 0.6504 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.2387, allocations: 6.359 kB / 0.6504 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.2387, allocations: 0 / 0.6504 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.2387, allocations: 1.125 kB / 0.6504 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2387, allocations: 0.875 kB / 0.6504 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.849e-05/0.2387, allocations: 61.17 kB / 0.6505 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-06/0.2387, allocations: 4.359 kB / 0.6505 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.649e-06/0.2388, allocations: 2.531 kB / 0.6505 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.737e-06/0.2388, allocations: 1.359 kB / 0.6505 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.2388, allocations: 4.344 kB / 0.6505 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-06/0.2388, allocations: 4.656 kB / 0.6505 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.727e-06/0.2388, allocations: 79.41 kB / 0.6506 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2388, allocations: 0 / 0.6506 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001205/0.2389, allocations: 10.36 kB / 0.6506 GB, free: 54.77 MB / 0.5573 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.0001276/0.239, allocations: 116.2 kB / 0.6507 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 5.017e-05/0.2391, allocations: 4.938 kB / 0.6507 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.2391, allocations: 0.7812 kB / 0.6507 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-06/0.2391, allocations: 8.812 kB / 0.6507 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.89e-05/0.2392, allocations: 5.547 kB / 0.6507 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001487/0.2393, allocations: 108.6 kB / 0.6508 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.433e-05/0.2393, allocations: 55.08 kB / 0.6509 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.097e-05/0.2394, allocations: 9.406 kB / 0.6509 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/0.2394, allocations: 0.7656 kB / 0.6509 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of Templates: time 0.001309/0.2407, allocations: 480.3 kB / 0.6514 GB, free: 54.48 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8700341591611505] Failed to read output from testmodel.py, exit status != 0: 0.24542377330362797 0.252223623 0.013477687 Calling exit ...