Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 119 kB / 16.42 MB, free: 6.473 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.001631/0.001631, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.242/1.242, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001989, allocations: 285.7 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8786/0.8786, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.37, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.002465/0.3725, allocations: 1.433 MB / 0.7685 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007127/0.3732, allocations: 469.6 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.3733, allocations: 0 / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.3733, allocations: 7.922 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.806e-05/0.3734, allocations: 3.938 kB / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.3736, allocations: 15.98 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.88e-05/0.3737, allocations: 31.86 kB / 0.769 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.3738, allocations: 4 kB / 0.769 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.139e-05/0.3738, allocations: 11.94 kB / 0.769 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.959e-05/0.3739, allocations: 19.91 kB / 0.769 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.3739, allocations: 4 kB / 0.769 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.058e-05/0.374, allocations: 19.98 kB / 0.769 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.374, allocations: 7.984 kB / 0.769 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.374, allocations: 11.94 kB / 0.769 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.3741, allocations: 27.89 kB / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3741, allocations: 3.938 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3741, allocations: 4 kB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3742, allocations: 4 kB / 0.7691 GB, free: 1.816 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004132/0.3746, allocations: 347.1 kB / 0.7694 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3746, allocations: 8.031 kB / 0.7694 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.3747, allocations: 4.938 kB / 0.7694 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.3748, allocations: 172.2 kB / 0.7696 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.3748, allocations: 384 / 0.7696 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.3748, allocations: 4.375 kB / 0.7696 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.375, allocations: 57.98 kB / 0.7696 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.375, allocations: 0 / 0.7696 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.375, allocations: 0 / 0.7696 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.375, allocations: 0 / 0.7696 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.3752, allocations: 35.95 kB / 0.7697 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.3754, allocations: 255.4 kB / 0.7699 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3756, allocations: 38.56 kB / 0.77 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.591e-05/0.3757, allocations: 24.89 kB / 0.77 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.3758, allocations: 81.11 kB / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3758, allocations: 34.56 kB / 0.7701 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.3758, allocations: 0 / 0.7701 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003277/0.3761, allocations: 85.58 kB / 0.7702 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.3762, allocations: 59.34 kB / 0.7702 GB, free: 452 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.3763, allocations: 101.8 kB / 0.7703 GB, free: 340 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.3763, allocations: 25.7 kB / 0.7704 GB, free: 308 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.3763, allocations: 84.14 kB / 0.7704 GB, free: 220 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.3763, allocations: 7.906 kB / 0.7704 GB, free: 212 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.3764, allocations: 9.719 kB / 0.7705 GB, free: 196 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3765, allocations: 323 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.3766, allocations: 15.98 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.82e-05/0.3766, allocations: 11.98 kB / 0.7708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.3768, allocations: 44.81 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3768, allocations: 3.938 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001853/0.377, allocations: 69.67 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.377, allocations: 4 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.377, allocations: 0 / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.377, allocations: 4 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.3771, allocations: 7.984 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3771, allocations: 0 / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.3772, allocations: 11.89 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.3772, allocations: 0 / 0.7709 GB, free: 15.69 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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.856e-05/0.3773, allocations: 117.8 kB / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.3773, allocations: 0 / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.3775, allocations: 76.72 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3775, allocations: 7.922 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.3775, allocations: 3.984 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.3776, allocations: 77.11 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.3776, allocations: 0 / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.3777, allocations: 8.031 kB / 0.7712 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.3777, allocations: 15.92 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002231/0.3779, allocations: 140.9 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002397/0.3782, allocations: 242.8 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.853e-05/0.3783, allocations: 11.98 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.3783, allocations: 87.52 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of Backend: time 3.41e-07/0.3783, allocations: 4 kB / 0.7717 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004068/0.3787, allocations: 101.1 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003619/0.3791, allocations: 0.5728 MB / 0.7723 GB, free: 14.12 MB / 0.545 GB Notification: Performance of Templates: time 0.002408/0.3815, allocations: 0.6731 MB / 0.773 GB, free: 13.46 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)