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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001005, allocations: 114.4 kB / 16.42 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 183.7 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 290.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.897/0.897, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 95.86 kB / 0.6822 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3589, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001508/0.3604, allocations: 0.5824 MB / 0.7677 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005497/0.361, allocations: 322.8 kB / 0.768 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.438e-05/0.361, allocations: 0 / 0.768 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.361, allocations: 0 / 0.768 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.361, allocations: 0 / 0.768 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.3614, allocations: 107.7 kB / 0.7681 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.596e-05/0.3615, allocations: 0 / 0.7681 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.3615, allocations: 8 kB / 0.7681 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.243e-05/0.3615, allocations: 4 kB / 0.7681 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.817e-05/0.3615, allocations: 3.938 kB / 0.7681 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.3616, allocations: 0 / 0.7681 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000366/0.3619, allocations: 271.6 kB / 0.7683 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.3619, allocations: 3.984 kB / 0.7684 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.398e-05/0.362, allocations: 4 kB / 0.7684 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.3621, allocations: 83.86 kB / 0.7684 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.3621, allocations: 0 / 0.7684 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.133e-06/0.3621, allocations: 0 / 0.7684 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3621, allocations: 0 / 0.7684 GB, free: 2.555 MB / 0.5294 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.0002682/0.3624, allocations: 343.5 kB / 0.7688 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.3624, allocations: 8.031 kB / 0.7688 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.3625, allocations: 0.9375 kB / 0.7688 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.216e-05/0.3626, allocations: 160.4 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-06/0.3626, allocations: 384 / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.3626, allocations: 384 / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.129e-05/0.3627, allocations: 38.23 kB / 0.769 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.3627, allocations: 192 / 0.769 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.3627, allocations: 3.938 kB / 0.769 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3627, allocations: 4 kB / 0.769 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.493e-05/0.3627, allocations: 0 / 0.769 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001185/0.3628, allocations: 153.3 kB / 0.7691 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 2.965e-05/0.3629, allocations: 18.52 kB / 0.7691 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.3629, allocations: 12.89 kB / 0.7691 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004323/0.3633, allocations: 429.5 kB / 0.7696 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.3634, allocations: 34.56 kB / 0.7696 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.3634, allocations: 0 / 0.7696 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.3635, allocations: 37.64 kB / 0.7696 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.3635, allocations: 59.28 kB / 0.7697 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.906e-05/0.3636, allocations: 89.86 kB / 0.7698 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.3636, allocations: 25.83 kB / 0.7698 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.3636, allocations: 84.14 kB / 0.7699 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.3636, allocations: 7.906 kB / 0.7699 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.3637, allocations: 9.719 kB / 0.7699 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.3638, allocations: 314.8 kB / 0.7702 GB, free: 464 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-06/0.3638, allocations: 0 / 0.7702 GB, free: 464 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-06/0.3638, allocations: 4 kB / 0.7702 GB, free: 460 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.053e-05/0.3638, allocations: 8.859 kB / 0.7702 GB, free: 448 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3638, allocations: 8.062 kB / 0.7702 GB, free: 440 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.816e-05/0.3639, allocations: 29.7 kB / 0.7702 GB, free: 404 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.3639, allocations: 7.938 kB / 0.7702 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.3639, allocations: 0 / 0.7702 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3639, allocations: 3.938 kB / 0.7702 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.326e-05/0.364, allocations: 8 kB / 0.7703 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.364, allocations: 3.984 kB / 0.7703 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.161e-05/0.364, allocations: 3.984 kB / 0.7703 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.364, allocations: 0 / 0.7703 GB, free: 376 kB / 0.5294 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 5.97e-05/0.3641, allocations: 116.3 kB / 0.7704 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.3641, allocations: 0 / 0.7704 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.629e-05/0.3641, allocations: 36.83 kB / 0.7704 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3642, allocations: 3.938 kB / 0.7704 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3642, allocations: 0 / 0.7704 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.3642, allocations: 81.09 kB / 0.7705 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.3642, allocations: 4 kB / 0.7705 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-06/0.3642, allocations: 0 / 0.7705 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.3642, allocations: 4.031 kB / 0.7705 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.388e-05/0.3643, allocations: 108.9 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001235/0.3645, allocations: 214.7 kB / 0.7708 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.139e-05/0.3645, allocations: 0 / 0.7708 GB, free: 15.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.323e-05/0.3645, allocations: 79.22 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of Backend: time 2.21e-07/0.3645, allocations: 64 / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004148/0.3649, allocations: 126.4 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of SimCode: time 0.00026/0.3652, allocations: 0.5215 MB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of Templates: time 0.00269/0.3679, allocations: 1.067 MB / 0.7726 GB, free: 13.91 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (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)