Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7362/0.7362, allocations: 140.1 MB / 156 MB, free: 5.172 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.0009913/0.0009914, allocations: 183.6 kB / 188.5 MB, free: 15.84 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.397/1.397, allocations: 205.4 MB / 426.3 MB, free: 8.473 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.0007477/0.0007477, allocations: 90.3 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001683/0.001683, allocations: 277.2 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.000467, allocations: 16 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3753, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.5098, allocations: 107.2 MB / 0.8442 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.51, allocations: 75.95 kB / 0.8442 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003763/0.5138, allocations: 1.353 MB / 0.8455 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5138, allocations: 4 kB / 0.8456 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.5138, allocations: 0 / 0.8456 GB, free: 1.578 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.0003812/0.5142, allocations: 355.4 kB / 0.8459 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.5143, allocations: 8.031 kB / 0.8459 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.5143, allocations: 4.938 kB / 0.8459 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.5144, allocations: 164.3 kB / 0.8461 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.5145, allocations: 4.312 kB / 0.8461 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.5145, allocations: 8.375 kB / 0.8461 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.5146, allocations: 58.17 kB / 0.8461 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.5147, allocations: 192 / 0.8461 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.5147, allocations: 3.938 kB / 0.8461 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5147, allocations: 0 / 0.8461 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.5149, allocations: 47.95 kB / 0.8462 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.5153, allocations: 256.9 kB / 0.8464 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.5154, allocations: 62.41 kB / 0.8465 GB, free: 484 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.5155, allocations: 28.91 kB / 0.8465 GB, free: 452 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.7e-05/0.5156, allocations: 77.11 kB / 0.8466 GB, free: 356 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.5156, allocations: 30.56 kB / 0.8466 GB, free: 316 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.5156, allocations: 4 kB / 0.8466 GB, free: 312 kB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0003579/0.516, allocations: 101.5 kB / 0.8467 GB, free: 204 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.516, allocations: 55.53 kB / 0.8468 GB, free: 136 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.5162, allocations: 105.8 kB / 0.8469 GB, free: 20 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.5162, allocations: 25.7 kB / 0.8469 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.5162, allocations: 84.14 kB / 0.847 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.5163, allocations: 3.906 kB / 0.847 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-06/0.5163, allocations: 3.938 kB / 0.847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5164, allocations: 318.8 kB / 0.8473 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.532e-05/0.5165, allocations: 26.14 kB / 0.8473 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.5166, allocations: 19.98 kB / 0.8473 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.5168, allocations: 52.88 kB / 0.8474 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5168, allocations: 0 / 0.8474 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001799/0.517, allocations: 77.61 kB / 0.8475 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.517, allocations: 4 kB / 0.8475 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.517, allocations: 12.02 kB / 0.8475 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.517, allocations: 0 / 0.8475 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.5171, allocations: 11.98 kB / 0.8475 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5171, allocations: 3.938 kB / 0.8475 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.417e-05/0.5172, allocations: 7.984 kB / 0.8475 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.5172, allocations: 4 kB / 0.8475 GB, free: 15.35 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 7.818e-05/0.5173, allocations: 113.8 kB / 0.8476 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.5173, allocations: 0 / 0.8476 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.5175, allocations: 84.72 kB / 0.8477 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5175, allocations: 4 kB / 0.8477 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5176, allocations: 0 / 0.8477 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5176, allocations: 8.016 kB / 0.8477 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.5177, allocations: 161.5 kB / 0.8478 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5177, allocations: 0 / 0.8478 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.5178, allocations: 12.23 kB / 0.8479 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.5178, allocations: 0 / 0.8479 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.5178, allocations: 11.98 kB / 0.8479 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5178, allocations: 0 / 0.8479 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5179, allocations: 3.938 kB / 0.8479 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.5181, allocations: 175.5 kB / 0.848 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.5182, allocations: 77.11 kB / 0.8481 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.5182, allocations: 4 kB / 0.8481 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.5183, allocations: 12.02 kB / 0.8481 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.5183, allocations: 7.938 kB / 0.8481 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.5183, allocations: 0 / 0.8481 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.088e-05/0.5184, allocations: 87.27 kB / 0.8482 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5184, allocations: 0 / 0.8482 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002186/0.5186, allocations: 15.94 kB / 0.8482 GB, free: 14.49 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.0001935/0.5188, allocations: 111.2 kB / 0.8483 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.519, allocations: 59.89 kB / 0.8484 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.519, allocations: 0 / 0.8484 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.858e-05/0.5191, allocations: 19.98 kB / 0.8484 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.5194, allocations: 12.06 kB / 0.8484 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.5197, allocations: 116.6 kB / 0.8485 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.5199, allocations: 0.6808 MB / 0.8492 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.243e-05/0.5199, allocations: 0 / 0.8492 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.52, allocations: 7.438 kB / 0.8492 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of SimCode: time 2.01e-07/0.52, allocations: 0 / 0.8492 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.002414/0.5224, allocations: 493.9 kB / 0.8497 GB, free: 12.95 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)