Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001162/0.001162, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001076/0.001076, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.859/1.859, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 79.88 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2667, allocations: 114.6 MB / 0.784 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001931/0.2686, allocations: 0.5815 MB / 0.7846 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006453/0.2693, allocations: 314.9 kB / 0.7849 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.779e-05/0.2693, allocations: 0 / 0.7849 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.2693, allocations: 0 / 0.7849 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-06/0.2694, allocations: 0 / 0.7849 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.2698, allocations: 114 kB / 0.785 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.916e-05/0.2699, allocations: 0 / 0.785 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.626e-05/0.2699, allocations: 3.984 kB / 0.785 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.346e-05/0.27, allocations: 11.94 kB / 0.785 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.219e-05/0.27, allocations: 0 / 0.785 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.27, allocations: 3.938 kB / 0.785 GB, free: 2.793 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.2704, allocations: 279.6 kB / 0.7853 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.2704, allocations: 0 / 0.7853 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.2705, allocations: 0 / 0.7853 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.2706, allocations: 83.86 kB / 0.7854 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2706, allocations: 0 / 0.7854 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2707, allocations: 0 / 0.7854 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2707, allocations: 0 / 0.7854 GB, free: 2.438 MB / 0.6544 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.0003559/0.271, allocations: 331.6 kB / 0.7857 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2711, allocations: 8.031 kB / 0.7857 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.2711, allocations: 8.938 kB / 0.7857 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.2712, allocations: 160.4 kB / 0.7859 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.2713, allocations: 384 / 0.7859 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.2713, allocations: 384 / 0.7859 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.2714, allocations: 38.19 kB / 0.7859 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.2714, allocations: 192 / 0.7859 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.2714, allocations: 3.938 kB / 0.7859 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2714, allocations: 0 / 0.7859 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.2714, allocations: 4 kB / 0.7859 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.2716, allocations: 145.7 kB / 0.7861 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.262e-05/0.2717, allocations: 22.61 kB / 0.7861 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.2717, allocations: 4.859 kB / 0.7861 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006293/0.2723, allocations: 437.5 kB / 0.7865 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.2724, allocations: 34.5 kB / 0.7865 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.2724, allocations: 0 / 0.7865 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001706/0.2726, allocations: 37.64 kB / 0.7866 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.2726, allocations: 51.41 kB / 0.7866 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.59e-05/0.2727, allocations: 89.86 kB / 0.7867 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2727, allocations: 25.7 kB / 0.7867 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.2727, allocations: 84.27 kB / 0.7868 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.2727, allocations: 0 / 0.7868 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.2728, allocations: 17.72 kB / 0.7868 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2729, allocations: 314.8 kB / 0.7871 GB, free: 356 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.2729, allocations: 0 / 0.7871 GB, free: 356 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/0.2729, allocations: 4 kB / 0.7871 GB, free: 352 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.273, allocations: 8.797 kB / 0.7871 GB, free: 340 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.273, allocations: 0 / 0.7871 GB, free: 340 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.749e-05/0.2731, allocations: 45.77 kB / 0.7872 GB, free: 288 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2731, allocations: 4 kB / 0.7872 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2731, allocations: 0 / 0.7872 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2731, allocations: 7.875 kB / 0.7872 GB, free: 276 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.45e-05/0.2732, allocations: 4 kB / 0.7872 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2732, allocations: 3.984 kB / 0.7872 GB, free: 268 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.376e-05/0.2732, allocations: 7.891 kB / 0.7872 GB, free: 260 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.2732, allocations: 0 / 0.7872 GB, free: 260 kB / 0.6544 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.1e-05/0.2733, allocations: 110.2 kB / 0.7873 GB, free: 140 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.2733, allocations: 4 kB / 0.7873 GB, free: 136 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346e-05/0.2734, allocations: 40.7 kB / 0.7874 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2734, allocations: 0 / 0.7874 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2734, allocations: 3.984 kB / 0.7874 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2734, allocations: 0 / 0.7874 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4531/0.7266, allocations: 147.7 kB / 0.7875 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.7266, allocations: 1.25 kB / 0.7875 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.7267, allocations: 1.656 kB / 0.7875 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.7267, allocations: 0.8438 kB / 0.7875 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.7267, allocations: 5.438 kB / 0.7875 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.7267, allocations: 3.719 kB / 0.7875 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7267, allocations: 2.25 kB / 0.7875 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.7269, allocations: 57.61 kB / 0.7876 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/0.727, allocations: 81.39 kB / 0.7876 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.727, allocations: 3.375 kB / 0.7876 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-06/0.727, allocations: 0 / 0.7876 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.727, allocations: 4.672 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.727, allocations: 0 / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.086e-05/0.7271, allocations: 76.28 kB / 0.7877 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7271, allocations: 0.5312 kB / 0.7877 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002643/0.7273, allocations: 12.34 kB / 0.7877 GB, free: 48.34 MB / 0.6544 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.0002246/0.7276, allocations: 115.9 kB / 0.7878 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.534e-05/0.7277, allocations: 4.641 kB / 0.7879 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7277, allocations: 0.5938 kB / 0.7879 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.724e-06/0.7277, allocations: 4.875 kB / 0.7879 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.7279, allocations: 3.625 kB / 0.7879 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001942/0.7281, allocations: 103.5 kB / 0.788 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.945e-05/0.7282, allocations: 0.6723 MB / 0.7886 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.312e-05/0.7282, allocations: 7.438 kB / 0.7886 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.7282, allocations: 0 / 0.7886 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.001851/0.7301, allocations: 469 kB / 0.7891 GB, free: 47.43 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)