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.0008219/0.000822, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005059/0.005059, allocations: 170 kB / 16.26 MB, free: 6.68 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.00171, allocations: 270.4 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9323/0.9323, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003901, allocations: 18.28 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1487, allocations: 88.54 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.0006074/0.1494, allocations: 317.7 kB / 0.6854 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002226/0.1496, allocations: 47.86 kB / 0.6855 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.965e-06/0.1496, allocations: 3.938 kB / 0.6855 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.1496, allocations: 0 / 0.6855 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.948e-06/0.1497, allocations: 3.938 kB / 0.6855 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.1498, allocations: 12.42 kB / 0.6855 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.607e-05/0.1499, allocations: 8 kB / 0.6855 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.1499, allocations: 0.5625 kB / 0.6855 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.066e-05/0.1499, allocations: 1.875 kB / 0.6855 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.666e-05/0.1499, allocations: 3.984 kB / 0.6855 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.554e-06/0.15, allocations: 0 / 0.6855 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-05/0.15, allocations: 23.97 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.293e-06/0.1501, allocations: 0 / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.1501, allocations: 26.36 kB / 0.6856 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.7e-05/0.1502, allocations: 19.98 kB / 0.6856 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1502, allocations: 1.188 kB / 0.6856 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1502, allocations: 0 / 0.6856 GB, free: 14.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.1502, allocations: 0 / 0.6856 GB, free: 14.64 MB / 494.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.0002126/0.1504, allocations: 313.3 kB / 0.6859 GB, free: 14.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1504, allocations: 8.031 kB / 0.6859 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.1507, allocations: 17.94 kB / 0.6859 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.31e-05/0.1508, allocations: 160.4 kB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.1508, allocations: 1.594 kB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1508, allocations: 4.375 kB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.1509, allocations: 47.56 kB / 0.6861 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.1509, allocations: 192 / 0.6861 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1509, allocations: 3.938 kB / 0.6861 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1509, allocations: 0 / 0.6861 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.024e-05/0.151, allocations: 8.734 kB / 0.6861 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.1512, allocations: 152.5 kB / 0.6863 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.458e-05/0.1512, allocations: 22.58 kB / 0.6863 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.1513, allocations: 8.844 kB / 0.6863 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.1513, allocations: 5.781 kB / 0.6863 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.1513, allocations: 38.5 kB / 0.6863 GB, free: 13.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.244e-06/0.1513, allocations: 3.984 kB / 0.6863 GB, free: 13.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002019/0.1515, allocations: 51.33 kB / 0.6864 GB, free: 13.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.1516, allocations: 51.41 kB / 0.6864 GB, free: 13.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.901e-05/0.1516, allocations: 90.73 kB / 0.6865 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.1516, allocations: 25.7 kB / 0.6866 GB, free: 13.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.1517, allocations: 80.86 kB / 0.6866 GB, free: 13.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.1517, allocations: 288 / 0.6866 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.1517, allocations: 11.12 kB / 0.6866 GB, free: 13.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.1518, allocations: 314.8 kB / 0.6869 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.545e-05/0.1519, allocations: 8.641 kB / 0.6869 GB, free: 13.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/0.1519, allocations: 8.562 kB / 0.687 GB, free: 13.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.049e-05/0.152, allocations: 24.97 kB / 0.687 GB, free: 13.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.152, allocations: 0 / 0.687 GB, free: 13.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001148/0.1522, allocations: 37.69 kB / 0.687 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.1522, allocations: 6.188 kB / 0.687 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1522, allocations: 7.984 kB / 0.687 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1522, allocations: 7.938 kB / 0.687 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.661e-05/0.1523, allocations: 0 / 0.687 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.1523, allocations: 0 / 0.687 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.1523, allocations: 11.97 kB / 0.687 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1523, allocations: 0 / 0.687 GB, free: 12.93 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.669e-05/0.1524, allocations: 115.1 kB / 0.6872 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.1524, allocations: 0 / 0.6872 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.1524, allocations: 11.06 kB / 0.6872 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1524, allocations: 0 / 0.6872 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1524, allocations: 0 / 0.6872 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-06/0.1525, allocations: 7.875 kB / 0.6872 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.038e-05/0.1525, allocations: 149.7 kB / 0.6873 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1525, allocations: 0 / 0.6873 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.1526, allocations: 7.984 kB / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1526, allocations: 0 / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.984e-06/0.1526, allocations: 3.938 kB / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.1526, allocations: 0 / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1526, allocations: 0 / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.1528, allocations: 73.11 kB / 0.6874 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.1528, allocations: 77.11 kB / 0.6875 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.1528, allocations: 3.938 kB / 0.6875 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.152e-05/0.1529, allocations: 4 kB / 0.6875 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-06/0.1529, allocations: 0 / 0.6875 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.1529, allocations: 0 / 0.6875 GB, free: 12.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.901e-05/0.1529, allocations: 75.28 kB / 0.6876 GB, free: 12.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1529, allocations: 0 / 0.6876 GB, free: 12.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001701/0.1531, allocations: 0 / 0.6876 GB, free: 12.32 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.647e-05/0.1532, allocations: 111.2 kB / 0.6877 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.1533, allocations: 11.98 kB / 0.6877 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1533, allocations: 0 / 0.6877 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.658e-05/0.1534, allocations: 8 kB / 0.6877 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.1535, allocations: 1.969 kB / 0.6877 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001989/0.1537, allocations: 86.78 kB / 0.6878 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.1539, allocations: 0.677 MB / 0.6884 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.204e-05/0.154, allocations: 0 / 0.6884 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.154, allocations: 11.38 kB / 0.6884 GB, free: 11.36 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.154, allocations: 3.938 kB / 0.6884 GB, free: 11.35 MB / 494.1 MB Notification: Performance of Templates: time 0.001688/0.1557, allocations: 220.8 kB / 0.6886 GB, free: 11.14 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)