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.8894/0.8894, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 188.2 kB / 187.3 MB, free: 11.88 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.361/1.361, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.000847/0.000847, allocations: 97.7 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001811/0.001811, allocations: 284 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.338e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4232, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.5411, allocations: 109.2 MB / 0.8709 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.5414, allocations: 78.17 kB / 0.871 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01246/0.5538, allocations: 4.358 MB / 0.8752 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5539, allocations: 0 / 0.8752 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.5539, allocations: 0 / 0.8752 GB, free: 10.94 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004362/0.5543, allocations: 374.3 kB / 0.8756 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5544, allocations: 11.97 kB / 0.8756 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.5544, allocations: 4 kB / 0.8756 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.5545, allocations: 163 kB / 0.8758 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5546, allocations: 3.953 kB / 0.8758 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.5546, allocations: 4 kB / 0.8758 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.863e-05/0.5547, allocations: 37.69 kB / 0.8758 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5547, allocations: 4 kB / 0.8758 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.5547, allocations: 0 / 0.8758 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5547, allocations: 0 / 0.8758 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.712e-05/0.5548, allocations: 15.98 kB / 0.8758 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.5552, allocations: 268.8 kB / 0.8761 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.7e-05/0.5552, allocations: 30.58 kB / 0.8761 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.5553, allocations: 12.92 kB / 0.8761 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000575/0.5559, allocations: 461.5 kB / 0.8766 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.5559, allocations: 34.56 kB / 0.8766 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.5559, allocations: 0 / 0.8766 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001665/0.5561, allocations: 45.64 kB / 0.8766 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.5561, allocations: 51.41 kB / 0.8767 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.208e-05/0.5562, allocations: 96.98 kB / 0.8768 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.5562, allocations: 29.7 kB / 0.8768 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.5563, allocations: 84.17 kB / 0.8769 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.5563, allocations: 3.906 kB / 0.8769 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.5563, allocations: 0 / 0.8769 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5564, allocations: 318.8 kB / 0.8772 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.5565, allocations: 3.984 kB / 0.8772 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.556e-05/0.5565, allocations: 8 kB / 0.8772 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.194e-05/0.5565, allocations: 7.953 kB / 0.8772 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5565, allocations: 0 / 0.8772 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.639e-05/0.5566, allocations: 45.77 kB / 0.8773 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.5566, allocations: 4 kB / 0.8773 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5566, allocations: 0 / 0.8773 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5567, allocations: 7.938 kB / 0.8773 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.5568, allocations: 15.92 kB / 0.8773 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.5568, allocations: 0 / 0.8773 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.529e-05/0.5568, allocations: 11.89 kB / 0.8773 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.5569, allocations: 4 kB / 0.8773 GB, free: 8.516 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 (2): * Single equations (assignments): 2 * 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 6.975e-05/0.5569, allocations: 113 kB / 0.8774 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.557, allocations: 0 / 0.8774 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.5571, allocations: 53.28 kB / 0.8775 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5571, allocations: 0 / 0.8775 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5571, allocations: 0 / 0.8775 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5571, allocations: 0 / 0.8775 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.5573, allocations: 169.6 kB / 0.8776 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5573, allocations: 3.953 kB / 0.8776 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/0.5574, allocations: 16.22 kB / 0.8776 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5574, allocations: 3.984 kB / 0.8776 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.5574, allocations: 4 kB / 0.8776 GB, free: 8.102 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5574, allocations: 0 / 0.8776 GB, free: 8.102 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5574, allocations: 4 kB / 0.8776 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.5575, allocations: 131.6 kB / 0.8778 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.5576, allocations: 88.95 kB / 0.8779 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.5576, allocations: 4.031 kB / 0.8779 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/0.5577, allocations: 8 kB / 0.8779 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.5577, allocations: 7.984 kB / 0.8779 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.5578, allocations: 0 / 0.8779 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.227e-05/0.5578, allocations: 79.28 kB / 0.878 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5578, allocations: 4 kB / 0.878 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002248/0.558, allocations: 16 kB / 0.878 GB, free: 7.73 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 (2): * Single equations (assignments): 2 * 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.0001744/0.5582, allocations: 123.2 kB / 0.8781 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.978e-05/0.5583, allocations: 15.94 kB / 0.8781 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5583, allocations: 0 / 0.8781 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.5583, allocations: 8 kB / 0.8781 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.5585, allocations: 9.391 kB / 0.8781 GB, free: 7.566 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001797/0.5587, allocations: 65.17 kB / 0.8782 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.5589, allocations: 0.677 MB / 0.8788 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.255e-05/0.5589, allocations: 8.125 kB / 0.8789 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/0.559, allocations: 7.438 kB / 0.8789 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.559, allocations: 0 / 0.8789 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of Templates: time 0.002393/0.5614, allocations: 0.6177 MB / 0.8795 GB, free: 6.152 MB / 0.5417 GB 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)