Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7678/0.7678, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009574/0.0009575, allocations: 184.2 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.4 MB / 426.4 MB, free: 8.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007207/0.0007207, allocations: 78.39 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.002604/0.002604, allocations: 271.2 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004612, allocations: 27.98 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3297, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4558, allocations: 107.1 MB / 0.844 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.4562, allocations: 75.95 kB / 0.8441 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002204/0.4584, allocations: 0.8616 MB / 0.845 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4584, allocations: 0 / 0.845 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.4584, allocations: 0 / 0.845 GB, free: 2.203 MB / 0.5105 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.0002191/0.4586, allocations: 315.6 kB / 0.8453 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4587, allocations: 12.03 kB / 0.8453 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.4587, allocations: 0.9375 kB / 0.8453 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.684e-05/0.4588, allocations: 164.4 kB / 0.8454 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.4588, allocations: 384 / 0.8454 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.4588, allocations: 4.359 kB / 0.8454 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.003e-05/0.4589, allocations: 38.25 kB / 0.8455 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.4589, allocations: 4.188 kB / 0.8455 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.459, allocations: 3.938 kB / 0.8455 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.459, allocations: 0 / 0.8455 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.459, allocations: 15.92 kB / 0.8455 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.4591, allocations: 141.7 kB / 0.8456 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.4593, allocations: 34.61 kB / 0.8457 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.4593, allocations: 16.86 kB / 0.8457 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.4595, allocations: 85.19 kB / 0.8458 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.4595, allocations: 30.56 kB / 0.8458 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4595, allocations: 0 / 0.8458 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.003579/0.4631, allocations: 0.5753 MB / 0.8463 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.4631, allocations: 55.34 kB / 0.8464 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.564e-05/0.4632, allocations: 89.86 kB / 0.8465 GB, free: 436 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.4632, allocations: 25.7 kB / 0.8465 GB, free: 404 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.336e-05/0.4632, allocations: 84.14 kB / 0.8466 GB, free: 316 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.4633, allocations: 15.81 kB / 0.8466 GB, free: 300 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-06/0.4633, allocations: 0 / 0.8466 GB, free: 300 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.4634, allocations: 310.8 kB / 0.8469 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.4639, allocations: 91.89 kB / 0.847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/0.4644, allocations: 98.52 kB / 0.8471 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009258/0.4654, allocations: 198.4 kB / 0.8473 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4654, allocations: 0 / 0.8473 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001012/0.4664, allocations: 205.6 kB / 0.8475 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4664, allocations: 16 kB / 0.8475 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4664, allocations: 0 / 0.8475 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4665, allocations: 0 / 0.8475 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.4668, allocations: 51.97 kB / 0.8475 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.4668, allocations: 3.984 kB / 0.8475 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.4671, allocations: 44.17 kB / 0.8476 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.4671, allocations: 4 kB / 0.8476 GB, free: 15.26 MB / 0.5261 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.502e-05/0.4672, allocations: 109.8 kB / 0.8477 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.4672, allocations: 3.938 kB / 0.8477 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.4684, allocations: 241 kB / 0.8479 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.4685, allocations: 4 kB / 0.8479 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4685, allocations: 4 kB / 0.8479 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4685, allocations: 0 / 0.8479 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.4698, allocations: 462.3 kB / 0.8484 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4698, allocations: 0 / 0.8484 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.4701, allocations: 47.97 kB / 0.8484 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4701, allocations: 432 / 0.8484 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.4702, allocations: 4 kB / 0.8484 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4702, allocations: 0 / 0.8484 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4702, allocations: 0 / 0.8484 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.4712, allocations: 303.4 kB / 0.8487 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.4713, allocations: 85.09 kB / 0.8488 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.4713, allocations: 0 / 0.8488 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.4716, allocations: 43.97 kB / 0.8488 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.4716, allocations: 4 kB / 0.8488 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.4717, allocations: 0 / 0.8488 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.878e-05/0.4717, allocations: 79.22 kB / 0.8489 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4717, allocations: 0 / 0.8489 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002572/0.472, allocations: 15.94 kB / 0.8489 GB, free: 13.78 MB / 0.5261 GB 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001926/0.4722, allocations: 111.2 kB / 0.849 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.4732, allocations: 176 kB / 0.8492 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.4732, allocations: 2.156 kB / 0.8492 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.4737, allocations: 95.95 kB / 0.8493 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.4739, allocations: 10.94 kB / 0.8493 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009501/0.4749, allocations: 219 kB / 0.8495 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.4751, allocations: 0.6809 MB / 0.8502 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002339/0.4754, allocations: 27.94 kB / 0.8502 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.4754, allocations: 11.42 kB / 0.8502 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of SimCode: time 3.31e-07/0.4754, allocations: 4 kB / 0.8502 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.002533/0.478, allocations: 0.7935 MB / 0.851 GB, free: 11.61 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)