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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.953/0.953, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.0011/0.0011, allocations: 180 kB / 182.2 MB, free: 9.465 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.468/1.468, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0008599/0.0008599, allocations: 88.09 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 288.1 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.857e-05, allocations: 8 kB / 0.6766 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3706, allocations: 82.79 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.4996, allocations: 107.8 MB / 0.8627 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.4998, allocations: 83.81 kB / 0.8628 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01183/0.5117, allocations: 4.001 MB / 0.8667 GB, free: 4 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5117, allocations: 4 kB / 0.8667 GB, free: 0 / 0.5261 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.5118, allocations: 4.047 kB / 0.8667 GB, free: 15.99 MB / 0.5417 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.0002976/0.5121, allocations: 334.5 kB / 0.867 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.5121, allocations: 8.031 kB / 0.867 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.5122, allocations: 0 / 0.867 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.628e-05/0.5123, allocations: 159.1 kB / 0.8671 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.5123, allocations: 3.953 kB / 0.8672 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.5123, allocations: 4 kB / 0.8672 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.108e-05/0.5124, allocations: 3.938 kB / 0.8672 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.382e-05/0.5124, allocations: 29.7 kB / 0.8672 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.5125, allocations: 0 / 0.8672 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.5125, allocations: 4 kB / 0.8672 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5125, allocations: 0 / 0.8672 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.5126, allocations: 130.2 kB / 0.8673 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.436e-05/0.5126, allocations: 14.58 kB / 0.8673 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.5127, allocations: 16.89 kB / 0.8673 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004283/0.5131, allocations: 421.5 kB / 0.8677 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.5131, allocations: 38.52 kB / 0.8678 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.5132, allocations: 0 / 0.8678 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.5133, allocations: 37.64 kB / 0.8678 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.5133, allocations: 51.41 kB / 0.8679 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.386e-05/0.5134, allocations: 89.03 kB / 0.868 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.5134, allocations: 25.7 kB / 0.868 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.5134, allocations: 80.14 kB / 0.8681 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.5135, allocations: 0 / 0.8681 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/0.5135, allocations: 0 / 0.8681 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.5136, allocations: 314.8 kB / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-06/0.5136, allocations: 4 kB / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.5136, allocations: 0 / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.185e-05/0.5136, allocations: 0 / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5136, allocations: 4.062 kB / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.252e-05/0.5137, allocations: 37.69 kB / 0.8684 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5137, allocations: 7.938 kB / 0.8684 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/0.5138, allocations: 4 kB / 0.8684 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.5138, allocations: 3.953 kB / 0.8684 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.999e-05/0.5138, allocations: 4 kB / 0.8684 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.5138, allocations: 0 / 0.8684 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.13e-05/0.5139, allocations: 3.984 kB / 0.8684 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.5139, allocations: 0 / 0.8684 GB, free: 13.91 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/0.5139, allocations: 109 kB / 0.8685 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.514, allocations: 4 kB / 0.8685 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.948e-05/0.5141, allocations: 37.36 kB / 0.8686 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5141, allocations: 0 / 0.8686 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5141, allocations: 3.953 kB / 0.8686 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5141, allocations: 0 / 0.8686 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.792e-05/0.5142, allocations: 126.2 kB / 0.8687 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5142, allocations: 0 / 0.8687 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-05/0.5142, allocations: 4 kB / 0.8687 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5142, allocations: 4.031 kB / 0.8687 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.5143, allocations: 3.938 kB / 0.8687 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5143, allocations: 3.938 kB / 0.8687 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5143, allocations: 0 / 0.8687 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.5144, allocations: 65.08 kB / 0.8688 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.5144, allocations: 77.11 kB / 0.8688 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.5145, allocations: 0 / 0.8688 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-06/0.5145, allocations: 7.969 kB / 0.8688 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.5145, allocations: 4 kB / 0.8689 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.5145, allocations: 0 / 0.8689 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.043e-05/0.5145, allocations: 75.28 kB / 0.8689 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5145, allocations: 0 / 0.8689 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000217/0.5148, allocations: 15.94 kB / 0.8689 GB, free: 13.29 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002047/0.515, allocations: 119.2 kB / 0.8691 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.918e-05/0.5151, allocations: 7.938 kB / 0.8691 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5151, allocations: 4.062 kB / 0.8691 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.52e-06/0.5151, allocations: 0 / 0.8691 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.799e-05/0.5152, allocations: 4 kB / 0.8691 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001651/0.5154, allocations: 47.95 kB / 0.8691 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.5157, allocations: 0.6768 MB / 0.8698 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.997e-05/0.5157, allocations: 0 / 0.8698 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.5157, allocations: 7.438 kB / 0.8698 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/0.5157, allocations: 4 kB / 0.8698 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of Templates: time 0.002322/0.518, allocations: 415.7 kB / 0.8702 GB, free: 11.96 MB / 0.5417 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)