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.001341/0.001341, allocations: 79.12 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001583/0.001583, allocations: 165.9 kB / 22.45 MB, free: 5.375 MB / 14.72 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.455/1.455, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.002585/0.002585, allocations: 242.5 kB / 259.4 MB, free: 460 kB / 238.1 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 1.098/1.098, allocations: 138.4 MB / 454.3 MB, free: 2.012 MB / 366.1 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.6468 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.656e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001654/0.001681, allocations: 0.6041 MB / 0.6474 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006724/0.002353, allocations: 292.2 kB / 0.6477 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.555e-05/0.002369, allocations: 4 kB / 0.6477 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.002383, allocations: 3.938 kB / 0.6477 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.229e-06/0.002388, allocations: 0 / 0.6477 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.002865, allocations: 103.6 kB / 0.6478 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.079e-05/0.002906, allocations: 3.984 kB / 0.6478 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.002944, allocations: 4 kB / 0.6478 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.002969, allocations: 3.938 kB / 0.6478 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.292e-05/0.002992, allocations: 0 / 0.6478 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.003003, allocations: 4 kB / 0.6478 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.003451, allocations: 255.6 kB / 0.6481 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.003461, allocations: 0 / 0.6481 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.267e-05/0.003474, allocations: 0 / 0.6481 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.003713, allocations: 119.7 kB / 0.6482 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003716, allocations: 0 / 0.6482 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003716, allocations: 0 / 0.6482 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.00372, allocations: 0 / 0.6482 GB, free: 3.594 MB / 0.5606 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.00033/0.00405, allocations: 262.2 kB / 0.6484 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.004089, allocations: 9.344 kB / 0.6485 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.004137, allocations: 0.9375 kB / 0.6485 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.143e-05/0.004219, allocations: 109.8 kB / 0.6486 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.004231, allocations: 4.375 kB / 0.6486 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.004241, allocations: 384 / 0.6486 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.316e-05/0.004334, allocations: 30.2 kB / 0.6486 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.004342, allocations: 192 / 0.6486 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.004349, allocations: 384 / 0.6486 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.004355, allocations: 8.297 kB / 0.6486 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.014e-05/0.004375, allocations: 7.938 kB / 0.6486 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.004492, allocations: 93.33 kB / 0.6487 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.007e-05/0.004542, allocations: 22.61 kB / 0.6487 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.004558, allocations: 8.859 kB / 0.6487 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003688/0.004927, allocations: 47.95 kB / 0.6488 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.004958, allocations: 34.5 kB / 0.6488 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.004959, allocations: 0 / 0.6488 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001461/0.005105, allocations: 33.7 kB / 0.6488 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.005145, allocations: 55.39 kB / 0.6489 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.874e-05/0.005193, allocations: 93.98 kB / 0.649 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.005209, allocations: 25.7 kB / 0.649 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.005245, allocations: 84.14 kB / 0.6491 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.005273, allocations: 0 / 0.6491 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.005303, allocations: 13.72 kB / 0.6491 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.005446, allocations: 314.8 kB / 0.6494 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.005455, allocations: 0 / 0.6494 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-06/0.005462, allocations: 4 kB / 0.6494 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.005489, allocations: 8.797 kB / 0.6494 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005491, allocations: 0 / 0.6494 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.018e-05/0.005571, allocations: 45.75 kB / 0.6495 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.005585, allocations: 4 kB / 0.6495 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005589, allocations: 0 / 0.6495 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.005601, allocations: 0 / 0.6495 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.946e-05/0.00564, allocations: 4 kB / 0.6495 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.005645, allocations: 0 / 0.6495 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.005659, allocations: 3.938 kB / 0.6495 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.005664, allocations: 0 / 0.6495 GB, free: 2.117 MB / 0.5606 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 7.296e-05/0.005737, allocations: 109.8 kB / 0.6496 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.005757, allocations: 0 / 0.6496 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.987e-05/0.005857, allocations: 52.59 kB / 0.6496 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005859, allocations: 0 / 0.6496 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.005863, allocations: 0 / 0.6496 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.005865, allocations: 0 / 0.6496 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.723e-05/0.005942, allocations: 101.3 kB / 0.6497 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005943, allocations: 0 / 0.6497 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-05/0.005959, allocations: 4 kB / 0.6497 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.005961, allocations: 0 / 0.6497 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.005967, allocations: 7.984 kB / 0.6497 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.005969, allocations: 0 / 0.6497 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00597, allocations: 4.031 kB / 0.6497 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.00607, allocations: 68.91 kB / 0.6498 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-06/0.006074, allocations: 3.938 kB / 0.6498 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.006085, allocations: 4 kB / 0.6498 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-06/0.006092, allocations: 0 / 0.6498 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.006107, allocations: 3.984 kB / 0.6498 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.006109, allocations: 4 kB / 0.6498 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.006142, allocations: 75.28 kB / 0.6499 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.006142, allocations: 0 / 0.6499 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001989/0.006341, allocations: 8 kB / 0.6499 GB, free: 1.613 MB / 0.5606 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.0001872/0.006528, allocations: 115.2 kB / 0.65 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.198e-05/0.00659, allocations: 7.984 kB / 0.65 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006592, allocations: 0 / 0.65 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.292e-06/0.006598, allocations: 4 kB / 0.65 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.006721, allocations: 0 / 0.65 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.006918, allocations: 84.86 kB / 0.6501 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.61e-05/0.006964, allocations: 55.36 kB / 0.6501 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.689e-05/0.006981, allocations: 4.125 kB / 0.6502 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.006996, allocations: 8.5 kB / 0.6502 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.006997, allocations: 0 / 0.6502 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of Templates: time 0.002867/0.009863, allocations: 480.3 kB / 0.6506 GB, free: 0.8125 MB / 0.5606 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: 5.8308139480650425] Failed to read output from testmodel.py, exit status != 0: 0.2641321159899235 0.27331662500000004 0.26733716900000004 Calling exit ...