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 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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.9638/0.9638, allocations: 141.8 MB / 149.3 MB, free: 9.246 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 176.9 kB / 182.2 MB, free: 9.473 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 221.5 MB / 436.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009642/0.0009643, allocations: 92.09 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 269.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.355e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3418, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4705, allocations: 107.8 MB / 0.8627 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.4708, allocations: 87.81 kB / 0.8627 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002553/0.4734, allocations: 0.8656 MB / 0.8636 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.196e-06/0.4734, allocations: 4 kB / 0.8636 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.4734, allocations: 0 / 0.8636 GB, free: 3.113 MB / 0.5261 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.0002096/0.4736, allocations: 310.6 kB / 0.8639 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.4737, allocations: 8.031 kB / 0.8639 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.4737, allocations: 3.938 kB / 0.8639 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.623e-05/0.4738, allocations: 174.9 kB / 0.8641 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.4738, allocations: 3.953 kB / 0.8641 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.4738, allocations: 8 kB / 0.8641 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.805e-05/0.4739, allocations: 8 kB / 0.8641 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.673e-05/0.474, allocations: 29.7 kB / 0.8641 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.474, allocations: 3.984 kB / 0.8641 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.474, allocations: 3.938 kB / 0.8641 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.474, allocations: 0 / 0.8641 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.4741, allocations: 130.2 kB / 0.8642 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.4743, allocations: 30.55 kB / 0.8643 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.4743, allocations: 12.86 kB / 0.8643 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.4745, allocations: 81.11 kB / 0.8644 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.4745, allocations: 38.52 kB / 0.8644 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.4745, allocations: 0 / 0.8644 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.002651/0.4772, allocations: 357.4 kB / 0.8647 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.4772, allocations: 55.41 kB / 0.8648 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.725e-05/0.4773, allocations: 89 kB / 0.8649 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.4773, allocations: 29.7 kB / 0.8649 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.4773, allocations: 80.14 kB / 0.865 GB, free: 1.484 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.4774, allocations: 11.8 kB / 0.865 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.4774, allocations: 0 / 0.865 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4775, allocations: 314.8 kB / 0.8653 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.4775, allocations: 8 kB / 0.8653 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.513e-05/0.4776, allocations: 30.56 kB / 0.8653 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.89e-05/0.4777, allocations: 15.98 kB / 0.8653 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.4777, allocations: 0 / 0.8653 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001881/0.4779, allocations: 65.61 kB / 0.8654 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4779, allocations: 8 kB / 0.8654 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.4779, allocations: 4.047 kB / 0.8654 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.478, allocations: 4 kB / 0.8654 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.4784, allocations: 47.97 kB / 0.8655 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4784, allocations: 4 kB / 0.8655 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.4787, allocations: 35.97 kB / 0.8655 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.4788, allocations: 11.94 kB / 0.8655 GB, free: 0.9102 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 () * 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 7.605e-05/0.4788, allocations: 104.9 kB / 0.8656 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.4789, allocations: 7.938 kB / 0.8656 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.4792, allocations: 86.06 kB / 0.8657 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4792, allocations: 7.953 kB / 0.8657 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4792, allocations: 3.984 kB / 0.8657 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4792, allocations: 0 / 0.8657 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.4796, allocations: 291 kB / 0.866 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4796, allocations: 0 / 0.866 GB, free: 376 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.4801, allocations: 51.97 kB / 0.866 GB, free: 324 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.4801, allocations: 3.953 kB / 0.866 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4801, allocations: 0 / 0.866 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.4801, allocations: 0 / 0.866 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4801, allocations: 0 / 0.866 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.4803, allocations: 159.5 kB / 0.8662 GB, free: 144 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.4804, allocations: 85.03 kB / 0.8663 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.4804, allocations: 7.953 kB / 0.8663 GB, free: 32 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.4808, allocations: 36.03 kB / 0.8663 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.4808, allocations: 4 kB / 0.8663 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.4809, allocations: 7.938 kB / 0.8663 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.335e-05/0.4809, allocations: 75.28 kB / 0.8664 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4809, allocations: 0 / 0.8664 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002613/0.4812, allocations: 8 kB / 0.8664 GB, free: 15.9 MB / 0.5417 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 () * 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.000158/0.4813, allocations: 103.2 kB / 0.8665 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.4814, allocations: 27.92 kB / 0.8665 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4815, allocations: 192 / 0.8665 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.4815, allocations: 20 kB / 0.8666 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.4816, allocations: 1.875 kB / 0.8666 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.4822, allocations: 95.98 kB / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.4824, allocations: 0.6807 MB / 0.8673 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.4827, allocations: 35.94 kB / 0.8674 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/0.4828, allocations: 15.42 kB / 0.8674 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.4828, allocations: 0 / 0.8674 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of Templates: time 0.002433/0.4852, allocations: 0.7877 MB / 0.8681 GB, free: 14.09 MB / 0.5417 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)