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.001208/0.001208, allocations: 106.4 kB / 16.41 MB, free: 6.508 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.001191/0.001191, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.227/1.227, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001996/0.001996, allocations: 286.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8799/0.8799, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001677, allocations: 95.86 kB / 0.6822 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3532, allocations: 86.97 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001555/0.3548, allocations: 0.5824 MB / 0.7677 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002179/0.355, allocations: 47.8 kB / 0.7677 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.295e-05/0.3551, allocations: 0 / 0.7677 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.053e-05/0.3551, allocations: 0 / 0.7677 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.3551, allocations: 0 / 0.7677 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.3553, allocations: 27.91 kB / 0.7677 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.709e-05/0.3554, allocations: 4 kB / 0.7677 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.3554, allocations: 3.984 kB / 0.7677 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.191e-05/0.3554, allocations: 3.938 kB / 0.7678 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.662e-05/0.3554, allocations: 0 / 0.7678 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-06/0.3555, allocations: 4 kB / 0.7678 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.252e-05/0.3556, allocations: 19.98 kB / 0.7678 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.3556, allocations: 0 / 0.7678 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.33e-05/0.3556, allocations: 3.938 kB / 0.7678 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.437e-05/0.3557, allocations: 19.95 kB / 0.7678 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3557, allocations: 0 / 0.7678 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3557, allocations: 4 kB / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3557, allocations: 0 / 0.7678 GB, free: 3.191 MB / 0.5294 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.0002482/0.3559, allocations: 315.6 kB / 0.7681 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.356, allocations: 8.031 kB / 0.7681 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.3562, allocations: 20.91 kB / 0.7681 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.27e-05/0.3563, allocations: 164.4 kB / 0.7683 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.3563, allocations: 384 / 0.7683 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.3563, allocations: 384 / 0.7683 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.3565, allocations: 38.25 kB / 0.7683 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.3565, allocations: 192 / 0.7683 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.3565, allocations: 3.938 kB / 0.7683 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3565, allocations: 0 / 0.7683 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.608e-05/0.3566, allocations: 15.92 kB / 0.7683 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.3567, allocations: 145.7 kB / 0.7685 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.054e-05/0.3568, allocations: 26.59 kB / 0.7685 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.3569, allocations: 8.922 kB / 0.7685 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.3569, allocations: 3.984 kB / 0.7685 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.3569, allocations: 34.55 kB / 0.7686 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3569, allocations: 0 / 0.7686 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002087/0.3571, allocations: 53.66 kB / 0.7686 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.3572, allocations: 55.44 kB / 0.7687 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.836e-05/0.3572, allocations: 89.86 kB / 0.7687 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.3572, allocations: 25.7 kB / 0.7688 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/0.3572, allocations: 80.14 kB / 0.7688 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.3573, allocations: 11.5 kB / 0.7689 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.3573, allocations: 17.7 kB / 0.7689 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.3574, allocations: 310.8 kB / 0.7692 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.156e-05/0.3575, allocations: 8 kB / 0.7692 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.172e-05/0.3575, allocations: 11.98 kB / 0.7692 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.835e-05/0.3576, allocations: 12.84 kB / 0.7692 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.3576, allocations: 0 / 0.7692 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001175/0.3577, allocations: 45.62 kB / 0.7692 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.3578, allocations: 4 kB / 0.7692 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3578, allocations: 4.094 kB / 0.7692 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3578, allocations: 7.875 kB / 0.7693 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.3579, allocations: 7.984 kB / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.3579, allocations: 0 / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.3579, allocations: 4 kB / 0.7693 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.3579, allocations: 0 / 0.7693 GB, free: 1.465 MB / 0.5294 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 () * 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.268e-05/0.358, allocations: 105.8 kB / 0.7694 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-06/0.358, allocations: 0 / 0.7694 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.358, allocations: 11.12 kB / 0.7694 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.358, allocations: 3.938 kB / 0.7694 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.358, allocations: 0 / 0.7694 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.3581, allocations: 85.09 kB / 0.7695 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.3581, allocations: 4 kB / 0.7695 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.36e-05/0.3581, allocations: 0 / 0.7695 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-06/0.3581, allocations: 0 / 0.7695 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001602/0.3583, allocations: 124.9 kB / 0.7696 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000171/0.3585, allocations: 214.8 kB / 0.7698 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.677e-05/0.3585, allocations: 7.984 kB / 0.7698 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.256e-05/0.3586, allocations: 75.28 kB / 0.7699 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of Backend: time 5.81e-07/0.3586, allocations: 0 / 0.7699 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.359, allocations: 96.86 kB / 0.77 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0002872/0.3593, allocations: 0.5254 MB / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of Templates: time 0.002201/0.3615, allocations: 441 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB 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)