Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8245/0.8245, allocations: 143.4 MB / 159.2 MB, free: 4.898 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 186 kB / 191.9 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 447.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009956/0.0009956, allocations: 107.8 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001918/0.001918, allocations: 276.5 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 87.88 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3444, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002729/0.3472, allocations: 1.513 MB / 0.7694 GB, free: 26.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.000754/0.348, allocations: 402.8 kB / 0.7698 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.348, allocations: 0 / 0.7698 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.878e-05/0.348, allocations: 3.938 kB / 0.7698 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.3481, allocations: 0 / 0.7698 GB, free: 25.76 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.3484, allocations: 79.84 kB / 0.7699 GB, free: 25.68 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.3485, allocations: 31.86 kB / 0.7699 GB, free: 25.65 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.3486, allocations: 4 kB / 0.7699 GB, free: 25.64 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.3487, allocations: 4 kB / 0.7699 GB, free: 25.64 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.622e-05/0.3487, allocations: 11.92 kB / 0.7699 GB, free: 25.63 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.3487, allocations: 4 kB / 0.7699 GB, free: 25.62 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.349, allocations: 275.6 kB / 0.7702 GB, free: 25.36 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.349, allocations: 4 kB / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.3491, allocations: 11.94 kB / 0.7702 GB, free: 25.34 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.3492, allocations: 110.4 kB / 0.7703 GB, free: 25.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3493, allocations: 0 / 0.7703 GB, free: 25.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3493, allocations: 3.938 kB / 0.7703 GB, free: 25.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.3493, allocations: 0 / 0.7703 GB, free: 25.23 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003996/0.3497, allocations: 355.5 kB / 0.7706 GB, free: 24.83 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3497, allocations: 8.031 kB / 0.7706 GB, free: 24.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.3498, allocations: 4.938 kB / 0.7706 GB, free: 24.82 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.27e-05/0.3499, allocations: 172.2 kB / 0.7708 GB, free: 24.61 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3499, allocations: 8.375 kB / 0.7708 GB, free: 24.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.3499, allocations: 4.312 kB / 0.7708 GB, free: 24.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3501, allocations: 54.22 kB / 0.7709 GB, free: 24.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3501, allocations: 192 / 0.7709 GB, free: 24.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3501, allocations: 7.875 kB / 0.7709 GB, free: 24.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3501, allocations: 0 / 0.7709 GB, free: 24.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.3503, allocations: 35.97 kB / 0.7709 GB, free: 24.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.3506, allocations: 256.9 kB / 0.7712 GB, free: 24.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.3507, allocations: 42.5 kB / 0.7712 GB, free: 24.15 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.3508, allocations: 24.89 kB / 0.7712 GB, free: 24.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005553/0.3514, allocations: 457.5 kB / 0.7717 GB, free: 23.58 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.3514, allocations: 30.56 kB / 0.7717 GB, free: 23.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3514, allocations: 0 / 0.7717 GB, free: 23.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003452/0.3518, allocations: 89.58 kB / 0.7718 GB, free: 23.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.3518, allocations: 51.41 kB / 0.7718 GB, free: 23.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.038e-05/0.3519, allocations: 109.8 kB / 0.7719 GB, free: 23.27 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.3519, allocations: 25.7 kB / 0.772 GB, free: 23.24 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.3519, allocations: 88.14 kB / 0.772 GB, free: 23.15 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.3519, allocations: 3.906 kB / 0.772 GB, free: 23.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.352, allocations: 9.719 kB / 0.7721 GB, free: 23.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.352, allocations: 327 kB / 0.7724 GB, free: 22.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.3521, allocations: 11.98 kB / 0.7724 GB, free: 22.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.3522, allocations: 19.98 kB / 0.7724 GB, free: 22.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.3523, allocations: 36.81 kB / 0.7724 GB, free: 22.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3523, allocations: 0 / 0.7724 GB, free: 22.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001811/0.3525, allocations: 81.52 kB / 0.7725 GB, free: 22.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3525, allocations: 8 kB / 0.7725 GB, free: 22.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3525, allocations: 0 / 0.7725 GB, free: 22.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3526, allocations: 3.984 kB / 0.7725 GB, free: 22.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.765e-05/0.3526, allocations: 4 kB / 0.7725 GB, free: 22.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3527, allocations: 4 kB / 0.7725 GB, free: 22.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.3527, allocations: 3.984 kB / 0.7725 GB, free: 22.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.3527, allocations: 8.031 kB / 0.7725 GB, free: 22.61 MB / 458.7 MB 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 (2): * Single equations (assignments): 2 * 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.766e-05/0.3528, allocations: 111.1 kB / 0.7726 GB, free: 22.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.3528, allocations: 4 kB / 0.7726 GB, free: 22.49 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.353, allocations: 73.12 kB / 0.7727 GB, free: 22.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3531, allocations: 4 kB / 0.7727 GB, free: 22.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3531, allocations: 3.984 kB / 0.7727 GB, free: 22.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3531, allocations: 3.938 kB / 0.7727 GB, free: 22.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.3532, allocations: 161.6 kB / 0.7729 GB, free: 22.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3532, allocations: 0 / 0.7729 GB, free: 22.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.3532, allocations: 11.98 kB / 0.7729 GB, free: 22.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3533, allocations: 0 / 0.7729 GB, free: 22.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.3533, allocations: 3.938 kB / 0.7729 GB, free: 22.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3533, allocations: 0 / 0.7729 GB, free: 22.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3533, allocations: 0 / 0.7729 GB, free: 22.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003892/0.3537, allocations: 0.7317 MB / 0.7736 GB, free: 21.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.3537, allocations: 81.11 kB / 0.7737 GB, free: 21.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.3537, allocations: 0 / 0.7737 GB, free: 21.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.3538, allocations: 7.984 kB / 0.7737 GB, free: 21.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.3538, allocations: 4 kB / 0.7737 GB, free: 21.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.3538, allocations: 7.969 kB / 0.7737 GB, free: 21.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.404e-05/0.3539, allocations: 87.52 kB / 0.7738 GB, free: 21.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3539, allocations: 4 kB / 0.7738 GB, free: 21.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003119/0.3542, allocations: 16 kB / 0.7738 GB, free: 21.17 MB / 458.7 MB 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 (2): * Single equations (assignments): 2 * 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.0001524/0.3544, allocations: 111.7 kB / 0.7739 GB, free: 21.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.3545, allocations: 39.89 kB / 0.774 GB, free: 21.01 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3546, allocations: 4.062 kB / 0.774 GB, free: 21.01 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.281e-05/0.3546, allocations: 15.98 kB / 0.774 GB, free: 20.99 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3549, allocations: 8 kB / 0.774 GB, free: 20.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.3552, allocations: 222.1 kB / 0.7742 GB, free: 20.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.3553, allocations: 0.677 MB / 0.7749 GB, free: 20.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.382e-05/0.3554, allocations: 4.062 kB / 0.7749 GB, free: 20.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.3554, allocations: 11.44 kB / 0.7749 GB, free: 20.01 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3554, allocations: 0 / 0.7749 GB, free: 20.01 MB / 458.7 MB Notification: Performance of Templates: time 0.002357/0.3578, allocations: 0.6552 MB / 0.7755 GB, free: 19.36 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)