Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00091/0.0009099, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009126/0.0009126, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001691/0.001691, allocations: 279.2 kB / 291.3 MB, free: 1.871 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7554/0.7554, allocations: 144.6 MB / 487 MB, free: 7.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004047, allocations: 13.73 kB / 0.5683 GB, free: 38.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1397, allocations: 83.09 MB / 0.6494 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.001645/0.1413, allocations: 1.439 MB / 0.6508 GB, free: 2.199 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007814/0.1421, allocations: 0.5882 MB / 0.6514 GB, free: 1.609 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.1422, allocations: 0 / 0.6514 GB, free: 1.609 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.1422, allocations: 7.875 kB / 0.6514 GB, free: 1.602 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.1423, allocations: 19.95 kB / 0.6514 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.1427, allocations: 149.5 kB / 0.6516 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1428, allocations: 68.47 kB / 0.6516 GB, free: 1.375 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.143, allocations: 47.62 kB / 0.6517 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/0.1431, allocations: 36.62 kB / 0.6517 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.1431, allocations: 39.78 kB / 0.6518 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1432, allocations: 5.156 kB / 0.6518 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.444e-05/0.1433, allocations: 39.95 kB / 0.6518 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.905e-05/0.1433, allocations: 23.91 kB / 0.6518 GB, free: 1.188 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.1433, allocations: 38.39 kB / 0.6519 GB, free: 1.145 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.1434, allocations: 87.83 kB / 0.6519 GB, free: 1.059 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.1435, allocations: 0.5938 kB / 0.6519 GB, free: 1.059 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1435, allocations: 4.531 kB / 0.6519 GB, free: 1.055 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.1435, allocations: 3.938 kB / 0.652 GB, free: 1.051 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004685/0.1439, allocations: 417.9 kB / 0.6524 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.144, allocations: 8.031 kB / 0.6524 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008235/0.1448, allocations: 149.8 kB / 0.6525 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1449, allocations: 180.8 kB / 0.6527 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.785e-05/0.145, allocations: 71.39 kB / 0.6527 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.1451, allocations: 4 kB / 0.6527 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.1456, allocations: 192.4 kB / 0.6529 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1456, allocations: 0 / 0.6529 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1456, allocations: 0 / 0.6529 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1456, allocations: 4 kB / 0.6529 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006011/0.1462, allocations: 203.6 kB / 0.6531 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009761/0.1472, allocations: 0.494 MB / 0.6536 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009694/0.1482, allocations: 270.3 kB / 0.6539 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1482, allocations: 7.906 kB / 0.6539 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.1482, allocations: 30.56 kB / 0.6539 GB, free: 14.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1483, allocations: 0 / 0.6539 GB, free: 14.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009943/0.1493, allocations: 317.6 kB / 0.6542 GB, free: 14.58 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.1493, allocations: 55.41 kB / 0.6543 GB, free: 14.51 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.1494, allocations: 134.9 kB / 0.6544 GB, free: 14.37 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.1494, allocations: 29.7 kB / 0.6544 GB, free: 14.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.1495, allocations: 108.1 kB / 0.6545 GB, free: 14.22 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.1495, allocations: 19.8 kB / 0.6545 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.1495, allocations: 0 / 0.6545 GB, free: 14.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.1496, allocations: 314.8 kB / 0.6548 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.1499, allocations: 99.91 kB / 0.6549 GB, free: 13.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.1502, allocations: 106.5 kB / 0.655 GB, free: 13.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.1505, allocations: 103.8 kB / 0.6551 GB, free: 13.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1505, allocations: 0 / 0.6551 GB, free: 13.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006335/0.1512, allocations: 237.4 kB / 0.6554 GB, free: 13.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1512, allocations: 4 kB / 0.6554 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.1512, allocations: 0 / 0.6554 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1512, allocations: 4 kB / 0.6554 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.1515, allocations: 47.89 kB / 0.6554 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1515, allocations: 0 / 0.6554 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.1517, allocations: 40.12 kB / 0.6555 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1517, allocations: 11.98 kB / 0.6555 GB, free: 13.23 MB / 462.1 MB 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 (8): * Single equations (assignments): 8 * 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.674e-05/0.1518, allocations: 120 kB / 0.6556 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.1518, allocations: 7.906 kB / 0.6556 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006987/0.1525, allocations: 246.2 kB / 0.6558 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1525, allocations: 4 kB / 0.6558 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1526, allocations: 0 / 0.6558 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1526, allocations: 0 / 0.6558 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.1528, allocations: 242.4 kB / 0.6561 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.1528, allocations: 0 / 0.6561 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.153, allocations: 47.94 kB / 0.6561 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.153, allocations: 0 / 0.6561 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.153, allocations: 0 / 0.6561 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.153, allocations: 0 / 0.6561 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1531, allocations: 7.984 kB / 0.6561 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006475/0.1537, allocations: 311.3 kB / 0.6564 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.1538, allocations: 92.95 kB / 0.6565 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1538, allocations: 4 kB / 0.6565 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.1541, allocations: 47.89 kB / 0.6565 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.1541, allocations: 7.938 kB / 0.6566 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1541, allocations: 7.984 kB / 0.6566 GB, free: 12.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.269e-05/0.1542, allocations: 103.2 kB / 0.6567 GB, free: 11.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1542, allocations: 0 / 0.6567 GB, free: 11.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1545, allocations: 31.84 kB / 0.6567 GB, free: 11.88 MB / 462.1 MB 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 (6): * Single equations (assignments): 6 * 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.0001077/0.1546, allocations: 95.25 kB / 0.6568 GB, free: 11.78 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006317/0.1552, allocations: 203.8 kB / 0.657 GB, free: 11.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1552, allocations: 7.938 kB / 0.657 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.1555, allocations: 96.05 kB / 0.6571 GB, free: 11.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.1557, allocations: 13.66 kB / 0.6571 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.1563, allocations: 293.4 kB / 0.6574 GB, free: 11.15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.1565, allocations: 0.7043 MB / 0.6581 GB, free: 10.42 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.427e-05/0.1566, allocations: 16.19 kB / 0.6581 GB, free: 10.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.1567, allocations: 15.42 kB / 0.6581 GB, free: 10.39 MB / 462.1 MB Notification: Performance of SimCode: time 1.644e-06/0.1567, allocations: 0 / 0.6581 GB, free: 10.39 MB / 462.1 MB Notification: Performance of Templates: time 0.00302/0.1597, allocations: 1.319 MB / 0.6594 GB, free: 9.082 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) Environment - environmentSimulation: