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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.7309/0.7309, allocations: 140.1 MB / 156 MB, free: 5.148 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.0009969/0.0009968, allocations: 175.2 kB / 188.5 MB, free: 15.82 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.419/1.419, allocations: 205.4 MB / 426.3 MB, free: 8.469 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.0007937/0.0007936, allocations: 96.94 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001608/0.001608, allocations: 271.7 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.000459, allocations: 16 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3913, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.5215, allocations: 107.6 MB / 0.8446 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.5218, allocations: 75.97 kB / 0.8446 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003238/0.5251, allocations: 1.092 MB / 0.8457 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5251, allocations: 0 / 0.8457 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.5251, allocations: 0 / 0.8457 GB, free: 1.414 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.0003882/0.5255, allocations: 351.4 kB / 0.846 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.5256, allocations: 8.031 kB / 0.846 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.5256, allocations: 0.9375 kB / 0.846 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.5258, allocations: 168.4 kB / 0.8462 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.5258, allocations: 4.375 kB / 0.8462 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.5258, allocations: 384 / 0.8462 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.526, allocations: 54.23 kB / 0.8463 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.526, allocations: 192 / 0.8463 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.526, allocations: 7.938 kB / 0.8463 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.526, allocations: 0 / 0.8463 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.5262, allocations: 47.91 kB / 0.8463 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.5266, allocations: 265 kB / 0.8466 GB, free: 392 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.5267, allocations: 50.44 kB / 0.8466 GB, free: 332 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.305e-05/0.5268, allocations: 32.89 kB / 0.8466 GB, free: 296 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.527, allocations: 81.11 kB / 0.8467 GB, free: 196 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.527, allocations: 34.56 kB / 0.8468 GB, free: 152 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.527, allocations: 0 / 0.8468 GB, free: 152 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0004532/0.5275, allocations: 109.6 kB / 0.8469 GB, free: 36 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.5275, allocations: 51.41 kB / 0.8469 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.5277, allocations: 101.8 kB / 0.847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.5277, allocations: 29.7 kB / 0.847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.5277, allocations: 84.14 kB / 0.8471 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.5278, allocations: 7.844 kB / 0.8471 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.5278, allocations: 0 / 0.8471 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5279, allocations: 314.8 kB / 0.8474 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.718e-05/0.528, allocations: 28 kB / 0.8474 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.828e-05/0.5281, allocations: 19.98 kB / 0.8475 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.5282, allocations: 52.89 kB / 0.8475 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5282, allocations: 3.938 kB / 0.8475 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001811/0.5284, allocations: 81.56 kB / 0.8476 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.5285, allocations: 8 kB / 0.8476 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.5285, allocations: 0 / 0.8476 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.5285, allocations: 0 / 0.8476 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.5286, allocations: 15.98 kB / 0.8476 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5286, allocations: 0 / 0.8476 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.5286, allocations: 7.984 kB / 0.8476 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.5287, allocations: 0 / 0.8476 GB, free: 15.2 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.732e-05/0.5288, allocations: 121.8 kB / 0.8477 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.5288, allocations: 0 / 0.8477 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.529, allocations: 88.7 kB / 0.8478 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.529, allocations: 0 / 0.8478 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5291, allocations: 4.031 kB / 0.8478 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5291, allocations: 4 kB / 0.8478 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.5292, allocations: 165.5 kB / 0.848 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5292, allocations: 0 / 0.848 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.5293, allocations: 8 kB / 0.848 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5293, allocations: 3.984 kB / 0.848 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.5293, allocations: 0 / 0.848 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5293, allocations: 0 / 0.848 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5294, allocations: 4 kB / 0.848 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.5296, allocations: 179.4 kB / 0.8482 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.5296, allocations: 81.05 kB / 0.8483 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.5297, allocations: 0 / 0.8483 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.5297, allocations: 16.02 kB / 0.8483 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.5298, allocations: 3.938 kB / 0.8483 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.5298, allocations: 0 / 0.8483 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.5298, allocations: 87.53 kB / 0.8484 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5299, allocations: 0 / 0.8484 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002063/0.5301, allocations: 8 kB / 0.8484 GB, free: 14.34 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 (2): * Single equations (assignments): 2 * 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.0001549/0.5302, allocations: 103.2 kB / 0.8485 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.5304, allocations: 43.97 kB / 0.8485 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5304, allocations: 4 kB / 0.8485 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.388e-05/0.5305, allocations: 28.05 kB / 0.8485 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.5308, allocations: 11.86 kB / 0.8485 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.5311, allocations: 108.7 kB / 0.8487 GB, free: 14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.5313, allocations: 0.6848 MB / 0.8493 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.727e-05/0.5314, allocations: 0 / 0.8493 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.5314, allocations: 7.438 kB / 0.8493 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.5314, allocations: 4.062 kB / 0.8493 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.002419/0.5338, allocations: 488.4 kB / 0.8498 GB, free: 12.82 MB / 0.5261 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)