Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 115.2 kB / 16.42 MB, free: 6.488 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.001293/0.001293, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.24/1.24, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 283 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8913/0.8913, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 103.8 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3634, allocations: 86.97 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002548/0.366, allocations: 1.762 MB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009339/0.3669, allocations: 0.6609 MB / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.367, allocations: 0 / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.367, allocations: 15.86 kB / 0.7694 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.3671, allocations: 15.81 kB / 0.7695 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.3676, allocations: 172.7 kB / 0.7696 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.3677, allocations: 127.6 kB / 0.7697 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3678, allocations: 48.5 kB / 0.7698 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.368, allocations: 67.77 kB / 0.7699 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.3681, allocations: 51.75 kB / 0.7699 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.3681, allocations: 12 kB / 0.7699 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3682, allocations: 51.97 kB / 0.77 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.3682, allocations: 27.91 kB / 0.77 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.3683, allocations: 55.7 kB / 0.77 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.3685, allocations: 143.5 kB / 0.7702 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3685, allocations: 0 / 0.7702 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3685, allocations: 0 / 0.7702 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.3685, allocations: 0 / 0.7702 GB, free: 0.6992 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005408/0.369, allocations: 441.5 kB / 0.7706 GB, free: 228 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.3691, allocations: 8.031 kB / 0.7706 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008442/0.3699, allocations: 108.7 kB / 0.7707 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.3701, allocations: 196.1 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.256e-05/0.3702, allocations: 63.97 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3702, allocations: 8.375 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.3707, allocations: 176.2 kB / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.3707, allocations: 0 / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3708, allocations: 0 / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3708, allocations: 8 kB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005987/0.3714, allocations: 155.8 kB / 0.7713 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.3724, allocations: 481.9 kB / 0.7718 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.3734, allocations: 214.3 kB / 0.772 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.3737, allocations: 84.89 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3738, allocations: 4 kB / 0.772 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.3738, allocations: 38.5 kB / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3738, allocations: 0 / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001022/0.3748, allocations: 261.5 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.3749, allocations: 55.41 kB / 0.7724 GB, free: 14.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.375, allocations: 144 kB / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.375, allocations: 25.7 kB / 0.7725 GB, free: 14.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.3751, allocations: 120.1 kB / 0.7727 GB, free: 13.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.3751, allocations: 23.64 kB / 0.7727 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.3751, allocations: 21.72 kB / 0.7727 GB, free: 13.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3753, allocations: 322.8 kB / 0.773 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.3756, allocations: 75.92 kB / 0.7731 GB, free: 13.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.3759, allocations: 94.48 kB / 0.7732 GB, free: 13.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/0.3765, allocations: 158.4 kB / 0.7733 GB, free: 13.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3765, allocations: 0 / 0.7733 GB, free: 13.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006877/0.3772, allocations: 209.4 kB / 0.7735 GB, free: 13.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3772, allocations: 4 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3772, allocations: 0 / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3772, allocations: 7.938 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.3775, allocations: 35.89 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3775, allocations: 3.984 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.3777, allocations: 28.03 kB / 0.7736 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.3777, allocations: 4 kB / 0.7736 GB, free: 12.95 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 8.698e-05/0.3778, allocations: 113.8 kB / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.3779, allocations: 8.219 kB / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007223/0.3786, allocations: 214.2 kB / 0.7739 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3786, allocations: 3.938 kB / 0.7739 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3786, allocations: 3.938 kB / 0.7739 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.3787, allocations: 85.02 kB / 0.774 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.3787, allocations: 0 / 0.774 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.379, allocations: 31.95 kB / 0.774 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.379, allocations: 11.98 kB / 0.7741 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008187/0.3799, allocations: 280.7 kB / 0.7743 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006862/0.3806, allocations: 362.5 kB / 0.7747 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003025/0.3809, allocations: 83.91 kB / 0.7748 GB, free: 11.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.3809, allocations: 105.3 kB / 0.7749 GB, free: 11.61 MB / 0.545 GB Notification: Performance of Backend: time 2e-07/0.3809, allocations: 0 / 0.7749 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006669/0.3816, allocations: 178.4 kB / 0.775 GB, free: 11.43 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004791/0.3821, allocations: 0.6449 MB / 0.7757 GB, free: 10.74 MB / 0.545 GB Notification: Performance of Templates: time 0.004399/0.3865, allocations: 2.279 MB / 0.7779 GB, free: 8.477 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)