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.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.00161/0.00161, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.001798/0.001798, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.433/1.433, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.002428/0.002428, allocations: 281.6 kB / 304.8 MB, free: 3.527 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.049/1.049, allocations: 180.9 MB / 0.5281 GB, free: 1.926 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.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 0.002821/0.002821, allocations: 111.7 kB / 0.7284 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5269/0.5297, allocations: 94.15 MB / 0.8203 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001708/0.5314, allocations: 0.5872 MB / 0.8209 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006939/0.5321, allocations: 330 kB / 0.8212 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.586e-05/0.5322, allocations: 5.125 kB / 0.8212 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.885e-05/0.5322, allocations: 3.938 kB / 0.8212 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.073e-06/0.5322, allocations: 0 / 0.8212 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.5326, allocations: 107.1 kB / 0.8213 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.143e-05/0.5327, allocations: 5.141 kB / 0.8213 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.5327, allocations: 1.156 kB / 0.8213 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.5327, allocations: 4.938 kB / 0.8213 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.159e-05/0.5328, allocations: 1.156 kB / 0.8213 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.5328, allocations: 4 kB / 0.8213 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004275/0.5332, allocations: 278.9 kB / 0.8216 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.5332, allocations: 0 / 0.8216 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.5332, allocations: 5.328 kB / 0.8216 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.5334, allocations: 87.52 kB / 0.8217 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5334, allocations: 0 / 0.8217 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5334, allocations: 0 / 0.8217 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.5334, allocations: 0 / 0.8217 GB, free: 3.703 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.0003736/0.5338, allocations: 332 kB / 0.822 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.5338, allocations: 9.844 kB / 0.822 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.5339, allocations: 4.938 kB / 0.822 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.534, allocations: 161.6 kB / 0.8222 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-06/0.534, allocations: 384 / 0.8222 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.534, allocations: 1.406 kB / 0.8222 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.582e-05/0.5341, allocations: 35.23 kB / 0.8222 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.5341, allocations: 1.438 kB / 0.8222 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.5341, allocations: 7.875 kB / 0.8222 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5341, allocations: 0 / 0.8222 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.017e-05/0.5341, allocations: 2.219 kB / 0.8222 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.5343, allocations: 150.6 kB / 0.8224 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.988e-05/0.5343, allocations: 16.86 kB / 0.8224 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.5343, allocations: 17.81 kB / 0.8224 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006592/0.535, allocations: 420.4 kB / 0.8228 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.535, allocations: 39.41 kB / 0.8228 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.535, allocations: 0 / 0.8228 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001444/0.5352, allocations: 39.31 kB / 0.8229 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.5352, allocations: 52.34 kB / 0.8229 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.551e-05/0.5353, allocations: 89.86 kB / 0.823 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.5353, allocations: 25.7 kB / 0.823 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.5353, allocations: 81.33 kB / 0.8231 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.5353, allocations: 4.078 kB / 0.8231 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.5354, allocations: 15.81 kB / 0.8231 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5355, allocations: 315.9 kB / 0.8234 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.5355, allocations: 1.375 kB / 0.8234 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.259e-06/0.5355, allocations: 3.938 kB / 0.8234 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/0.5355, allocations: 8.359 kB / 0.8235 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.5355, allocations: 4 kB / 0.8235 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.459e-05/0.5356, allocations: 35.25 kB / 0.8235 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.5356, allocations: 9.375 kB / 0.8235 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5356, allocations: 0 / 0.8235 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.5356, allocations: 5.031 kB / 0.8235 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.699e-05/0.5357, allocations: 1.188 kB / 0.8235 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.5357, allocations: 5.312 kB / 0.8235 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.238e-06/0.5357, allocations: 0 / 0.8235 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.5357, allocations: 0.9688 kB / 0.8235 GB, free: 1.609 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.72e-05/0.5358, allocations: 114.8 kB / 0.8236 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.5358, allocations: 1.062 kB / 0.8236 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.252e-05/0.5359, allocations: 46.09 kB / 0.8237 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.5359, allocations: 0 / 0.8237 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.5359, allocations: 0 / 0.8237 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.5359, allocations: 5.031 kB / 0.8237 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.536, allocations: 150.9 kB / 0.8238 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.536, allocations: 0 / 0.8238 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-05/0.536, allocations: 2.125 kB / 0.8238 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.536, allocations: 0 / 0.8238 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.536, allocations: 5.031 kB / 0.8238 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.536, allocations: 4.031 kB / 0.8238 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.536, allocations: 0.9688 kB / 0.8238 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.749e-05/0.5361, allocations: 62.72 kB / 0.8239 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.5361, allocations: 78.36 kB / 0.824 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.5362, allocations: 3.938 kB / 0.824 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-06/0.5362, allocations: 1.125 kB / 0.824 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.5362, allocations: 0 / 0.824 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.5362, allocations: 5.188 kB / 0.824 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.5362, allocations: 75.28 kB / 0.824 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.5362, allocations: 1 kB / 0.824 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001869/0.5364, allocations: 12.94 kB / 0.8241 GB, free: 0.9844 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.0001815/0.5366, allocations: 113.9 kB / 0.8242 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.805e-05/0.5366, allocations: 3.75 kB / 0.8242 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5367, allocations: 1.031 kB / 0.8242 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/0.5367, allocations: 9.375 kB / 0.8242 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.5368, allocations: 5.812 kB / 0.8242 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001926/0.537, allocations: 94.44 kB / 0.8243 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.5373, allocations: 0.6739 MB / 0.8249 GB, free: 84 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.432e-05/0.5373, allocations: 1.125 kB / 0.8249 GB, free: 84 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.5373, allocations: 8.594 kB / 0.8249 GB, free: 76 kB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.5373, allocations: 0 / 0.8249 GB, free: 76 kB / 0.5606 GB Notification: Performance of Templates: time 0.002606/0.5399, allocations: 476.2 kB / 0.8254 GB, free: 15.82 MB / 0.5762 GB " [Timeout remaining time 659] 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: 6.1189552154392]