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.004357/0.004357, allocations: 108.5 kB / 15.71 MB, free: 5.977 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.001102/0.001102, allocations: 187.6 kB / 16.64 MB, free: 5.914 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.431/1.431, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001961/0.001961, allocations: 284.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9274/0.9274, allocations: 169.3 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 95.86 kB / 0.6814 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4655, allocations: 86.98 MB / 0.7664 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001424/0.467, allocations: 0.5812 MB / 0.7669 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005866/0.4676, allocations: 322.8 kB / 0.7673 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.46e-05/0.4676, allocations: 0 / 0.7673 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.141e-05/0.4676, allocations: 0 / 0.7673 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.4676, allocations: 0 / 0.7673 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.4681, allocations: 107.7 kB / 0.7674 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.512e-05/0.4681, allocations: 7.938 kB / 0.7674 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.4681, allocations: 4 kB / 0.7674 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.234e-05/0.4682, allocations: 0 / 0.7674 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.809e-05/0.4682, allocations: 0 / 0.7674 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.4682, allocations: 0 / 0.7674 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.4686, allocations: 275.6 kB / 0.7676 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.4686, allocations: 0 / 0.7676 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.336e-05/0.4686, allocations: 0 / 0.7676 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.4688, allocations: 91.84 kB / 0.7677 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4688, allocations: 0 / 0.7677 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4688, allocations: 0 / 0.7677 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.4688, allocations: 7.938 kB / 0.7677 GB, free: 2.523 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.0003026/0.4691, allocations: 339.5 kB / 0.768 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.4692, allocations: 8.031 kB / 0.7681 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.4692, allocations: 0.9375 kB / 0.7681 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.381e-05/0.4693, allocations: 160.4 kB / 0.7682 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.4693, allocations: 384 / 0.7682 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.4693, allocations: 384 / 0.7682 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.623e-05/0.4694, allocations: 34.25 kB / 0.7682 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.4694, allocations: 4.188 kB / 0.7682 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.4694, allocations: 7.938 kB / 0.7683 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.4694, allocations: 0 / 0.7683 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.981e-05/0.4695, allocations: 4 kB / 0.7683 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.4696, allocations: 149.3 kB / 0.7684 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.335e-05/0.4696, allocations: 18.52 kB / 0.7684 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.4696, allocations: 8.953 kB / 0.7684 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000447/0.4701, allocations: 429.5 kB / 0.7688 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.4701, allocations: 34.55 kB / 0.7689 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.4701, allocations: 0 / 0.7689 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.4703, allocations: 37.58 kB / 0.7689 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.4703, allocations: 51.41 kB / 0.769 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.875e-05/0.4703, allocations: 89.98 kB / 0.769 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.4704, allocations: 29.7 kB / 0.7691 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.4704, allocations: 84.14 kB / 0.7691 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.4704, allocations: 7.906 kB / 0.7692 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.4704, allocations: 9.719 kB / 0.7692 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.4705, allocations: 310.8 kB / 0.7695 GB, free: 448 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.4706, allocations: 7.984 kB / 0.7695 GB, free: 440 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.4706, allocations: 0 / 0.7695 GB, free: 440 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.4706, allocations: 12.92 kB / 0.7695 GB, free: 424 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4706, allocations: 0 / 0.7695 GB, free: 424 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.485e-05/0.4707, allocations: 41.58 kB / 0.7695 GB, free: 376 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.4707, allocations: 4 kB / 0.7695 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4707, allocations: 4 kB / 0.7695 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.4707, allocations: 7.875 kB / 0.7695 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.345e-05/0.4708, allocations: 0 / 0.7695 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4708, allocations: 0 / 0.7695 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-06/0.4708, allocations: 0 / 0.7695 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.4708, allocations: 7.984 kB / 0.7695 GB, free: 352 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.331e-05/0.4708, allocations: 112.3 kB / 0.7697 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.4709, allocations: 0 / 0.7697 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7e-05/0.4709, allocations: 36.77 kB / 0.7697 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.471, allocations: 0 / 0.7697 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.471, allocations: 4 kB / 0.7697 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.471, allocations: 0 / 0.7697 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.597e-05/0.4711, allocations: 149.7 kB / 0.7698 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4711, allocations: 0 / 0.7698 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.4711, allocations: 7.969 kB / 0.7698 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4711, allocations: 4 kB / 0.7698 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.4711, allocations: 3.938 kB / 0.7698 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.4711, allocations: 0 / 0.7698 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4711, allocations: 0 / 0.7698 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.548e-05/0.4712, allocations: 61.12 kB / 0.7699 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.4712, allocations: 77.11 kB / 0.77 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.4712, allocations: 3.938 kB / 0.77 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-06/0.4713, allocations: 8.031 kB / 0.77 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.4713, allocations: 3.984 kB / 0.77 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.4713, allocations: 0 / 0.77 GB, free: 15.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.093e-05/0.4713, allocations: 75.28 kB / 0.7701 GB, free: 15.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4713, allocations: 0 / 0.7701 GB, free: 15.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001916/0.4715, allocations: 19.98 kB / 0.7701 GB, free: 15.69 MB / 0.545 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.0001609/0.4717, allocations: 107.2 kB / 0.7702 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.626e-05/0.4718, allocations: 11.94 kB / 0.7702 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4718, allocations: 0 / 0.7702 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.512e-06/0.4718, allocations: 0 / 0.7702 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.4719, allocations: 6.688 kB / 0.7702 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001598/0.4721, allocations: 89.06 kB / 0.7703 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.4723, allocations: 0.669 MB / 0.7709 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.74e-05/0.4723, allocations: 3.984 kB / 0.7709 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.4723, allocations: 15.5 kB / 0.771 GB, free: 14.73 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.4723, allocations: 4 kB / 0.771 GB, free: 14.73 MB / 0.545 GB Notification: Performance of Templates: time 0.002127/0.4744, allocations: 466 kB / 0.7714 GB, free: 14.27 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)