Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001892/0.001892, allocations: 192.9 kB / 16.14 MB, free: 6.715 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 290.3 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9293/0.9293, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 98.61 kB / 0.5945 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1469, allocations: 86.98 MB / 0.6795 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001574/0.1485, allocations: 0.6411 MB / 0.6801 GB, free: 500 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002377/0.1487, allocations: 55.78 kB / 0.6801 GB, free: 444 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-06/0.1487, allocations: 0 / 0.6801 GB, free: 444 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.1488, allocations: 0 / 0.6801 GB, free: 444 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.117e-06/0.1488, allocations: 2.062 kB / 0.6801 GB, free: 444 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.1489, allocations: 8 kB / 0.6801 GB, free: 436 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.087e-05/0.149, allocations: 0 / 0.6801 GB, free: 436 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.149, allocations: 7.984 kB / 0.6802 GB, free: 428 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.251e-05/0.149, allocations: 3.984 kB / 0.6802 GB, free: 424 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.575e-05/0.1491, allocations: 0.625 kB / 0.6802 GB, free: 424 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.614e-06/0.1491, allocations: 0 / 0.6802 GB, free: 424 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.354e-05/0.1492, allocations: 25.7 kB / 0.6802 GB, free: 400 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-06/0.1492, allocations: 0 / 0.6802 GB, free: 400 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.301e-05/0.1492, allocations: 0 / 0.6802 GB, free: 400 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.443e-05/0.1493, allocations: 19.91 kB / 0.6802 GB, free: 380 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1493, allocations: 4.875 kB / 0.6802 GB, free: 376 kB / 478.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1493, allocations: 0 / 0.6802 GB, free: 376 kB / 478.1 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.1493, allocations: 0 / 0.6802 GB, free: 376 kB / 478.1 MB 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.0002493/0.1496, allocations: 312.3 kB / 0.6805 GB, free: 12 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.1496, allocations: 8.656 kB / 0.6805 GB, free: 4 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/0.1499, allocations: 18.22 kB / 0.6805 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.329e-05/0.1499, allocations: 164.4 kB / 0.6807 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.15, allocations: 1.125 kB / 0.6807 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.15, allocations: 8.312 kB / 0.6807 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.1501, allocations: 38.25 kB / 0.6807 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.1501, allocations: 192 / 0.6807 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.1501, allocations: 3.938 kB / 0.6807 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1501, allocations: 0 / 0.6807 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.291e-05/0.1502, allocations: 7.984 kB / 0.6807 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.1504, allocations: 145.7 kB / 0.6809 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.313e-05/0.1505, allocations: 30.56 kB / 0.6809 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.1505, allocations: 12.86 kB / 0.6809 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.1505, allocations: 0 / 0.6809 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.1506, allocations: 34.56 kB / 0.681 GB, free: 15.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1506, allocations: 0 / 0.681 GB, free: 15.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002198/0.1508, allocations: 53.7 kB / 0.681 GB, free: 15.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1508, allocations: 55.44 kB / 0.6811 GB, free: 15.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.231e-05/0.1509, allocations: 89.86 kB / 0.6811 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.1509, allocations: 25.7 kB / 0.6812 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.501e-05/0.1509, allocations: 84.12 kB / 0.6812 GB, free: 15.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1509, allocations: 4.219 kB / 0.6813 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.151, allocations: 17.7 kB / 0.6813 GB, free: 15.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.1511, allocations: 310.8 kB / 0.6816 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/0.1512, allocations: 11.94 kB / 0.6816 GB, free: 14.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.841e-05/0.1512, allocations: 7.984 kB / 0.6816 GB, free: 14.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.807e-05/0.1513, allocations: 16.84 kB / 0.6816 GB, free: 14.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1513, allocations: 0 / 0.6816 GB, free: 14.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001165/0.1514, allocations: 37.69 kB / 0.6816 GB, free: 14.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1514, allocations: 8 kB / 0.6816 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1515, allocations: 8.031 kB / 0.6817 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.1515, allocations: 3.938 kB / 0.6817 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.1516, allocations: 7.984 kB / 0.6817 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.1516, allocations: 0 / 0.6817 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.1516, allocations: 7.922 kB / 0.6817 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1516, allocations: 0 / 0.6817 GB, free: 14.64 MB / 494.1 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 (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 6.944e-05/0.1517, allocations: 115.1 kB / 0.6818 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.1517, allocations: 0 / 0.6818 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.1517, allocations: 15.06 kB / 0.6818 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1517, allocations: 0 / 0.6818 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1517, allocations: 0 / 0.6818 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1518, allocations: 3.984 kB / 0.6818 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.463e-05/0.1518, allocations: 141.7 kB / 0.6819 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.1519, allocations: 8 kB / 0.6819 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.1519, allocations: 3.984 kB / 0.6819 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1519, allocations: 0 / 0.6819 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1519, allocations: 7.938 kB / 0.682 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1519, allocations: 0 / 0.682 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1519, allocations: 0 / 0.682 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.1521, allocations: 65.12 kB / 0.682 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.1521, allocations: 77.11 kB / 0.6821 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.1521, allocations: 11.92 kB / 0.6821 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.166e-05/0.1522, allocations: 0 / 0.6821 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.1522, allocations: 0 / 0.6821 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1522, allocations: 3.938 kB / 0.6821 GB, free: 14.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.327e-05/0.1522, allocations: 79.31 kB / 0.6822 GB, free: 14.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1522, allocations: 0 / 0.6822 GB, free: 14.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001738/0.1524, allocations: 4 kB / 0.6822 GB, free: 14.02 MB / 494.1 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 (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 9.438e-05/0.1525, allocations: 95.25 kB / 0.6823 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.1526, allocations: 11.98 kB / 0.6823 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1527, allocations: 0 / 0.6823 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.1527, allocations: 12.05 kB / 0.6823 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.1529, allocations: 11.94 kB / 0.6823 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002034/0.1531, allocations: 89.09 kB / 0.6824 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.1533, allocations: 0.6692 MB / 0.683 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.69e-05/0.1533, allocations: 4.062 kB / 0.6831 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.1533, allocations: 11.44 kB / 0.6831 GB, free: 13.06 MB / 494.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1533, allocations: 0 / 0.6831 GB, free: 13.06 MB / 494.1 MB Notification: Performance of Templates: time 0.00177/0.1551, allocations: 234.1 kB / 0.6833 GB, free: 12.84 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)