Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008526/0.000853, allocations: 100.9 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.0008524/0.0008525, 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.204/1.204, 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.001643/0.001643, allocations: 274.9 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.7479/0.7479, allocations: 144.6 MB / 487 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003957, allocations: 11.59 kB / 0.5683 GB, free: 38.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1455, allocations: 83.09 MB / 0.6494 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.001491/0.147, allocations: 1.163 MB / 0.6506 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007773/0.1478, allocations: 0.5132 MB / 0.6511 GB, free: 1.918 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.1479, allocations: 0 / 0.6511 GB, free: 1.918 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.1479, allocations: 4.609 kB / 0.6511 GB, free: 1.914 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.934e-05/0.148, allocations: 1.188 kB / 0.6511 GB, free: 1.914 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.1482, allocations: 39.84 kB / 0.6511 GB, free: 1.875 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.673e-05/0.1483, allocations: 19.97 kB / 0.6511 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.1484, allocations: 9.609 kB / 0.6511 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.674e-05/0.1484, allocations: 15.92 kB / 0.6512 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.1485, allocations: 9.5 kB / 0.6512 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.1485, allocations: 3.938 kB / 0.6512 GB, free: 1.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1486, allocations: 47.95 kB / 0.6512 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.1486, allocations: 3.984 kB / 0.6512 GB, free: 1.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.1487, allocations: 26.73 kB / 0.6512 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.889e-05/0.1488, allocations: 47.94 kB / 0.6513 GB, free: 1.691 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1488, allocations: 0 / 0.6513 GB, free: 1.691 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1488, allocations: 3.375 kB / 0.6513 GB, free: 1.691 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.1488, allocations: 0 / 0.6513 GB, free: 1.691 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003661/0.1492, allocations: 343.5 kB / 0.6516 GB, free: 1.309 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1492, allocations: 12.02 kB / 0.6516 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.1493, allocations: 7.906 kB / 0.6516 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1494, allocations: 167 kB / 0.6518 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1494, allocations: 7.953 kB / 0.6518 GB, free: 1.078 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1494, allocations: 4.5 kB / 0.6518 GB, free: 1.074 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.1496, allocations: 40.53 kB / 0.6518 GB, free: 1.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1496, allocations: 3.984 kB / 0.6519 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1496, allocations: 8 kB / 0.6519 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1496, allocations: 0 / 0.6519 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.316e-05/0.1497, allocations: 16.48 kB / 0.6519 GB, free: 1.004 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.1501, allocations: 262.3 kB / 0.6521 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.841e-05/0.1502, allocations: 35.5 kB / 0.6522 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008184/0.151, allocations: 0.4909 MB / 0.6526 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1511, allocations: 32.34 kB / 0.6527 GB, free: 40 kB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.1511, allocations: 4 kB / 0.6527 GB, free: 36 kB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002778/0.1513, allocations: 67.12 kB / 0.6527 GB, free: 15.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.1514, allocations: 55.89 kB / 0.6528 GB, free: 15.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.648e-05/0.1515, allocations: 110.5 kB / 0.6529 GB, free: 15.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.1515, allocations: 26.45 kB / 0.6529 GB, free: 15.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.1516, allocations: 84.12 kB / 0.653 GB, free: 15.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.1516, allocations: 17.5 kB / 0.653 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-06/0.1516, allocations: 0 / 0.653 GB, free: 15.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1517, allocations: 310.8 kB / 0.6533 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.653e-05/0.1518, allocations: 16.83 kB / 0.6533 GB, free: 15.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.1518, allocations: 10.53 kB / 0.6533 GB, free: 15.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.881e-05/0.1519, allocations: 19.94 kB / 0.6534 GB, free: 15.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1519, allocations: 0 / 0.6534 GB, free: 15.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001193/0.152, allocations: 55.34 kB / 0.6534 GB, free: 15.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.152, allocations: 4 kB / 0.6534 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.152, allocations: 320 / 0.6534 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1521, allocations: 1.188 kB / 0.6534 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.1521, allocations: 15.92 kB / 0.6534 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1522, allocations: 0 / 0.6534 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/0.1522, allocations: 8.594 kB / 0.6534 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1522, allocations: 5.859 kB / 0.6534 GB, free: 15.2 MB / 462.1 MB 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.126e-05/0.1523, allocations: 113.7 kB / 0.6536 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.1523, allocations: 8 kB / 0.6536 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.1525, allocations: 67.8 kB / 0.6536 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1525, allocations: 0 / 0.6536 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1525, allocations: 0 / 0.6536 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1525, allocations: 0 / 0.6536 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.1527, allocations: 165.7 kB / 0.6538 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1527, allocations: 8.734 kB / 0.6538 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.1527, allocations: 5.719 kB / 0.6538 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1528, allocations: 7.922 kB / 0.6538 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1528, allocations: 0 / 0.6538 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1528, allocations: 4 kB / 0.6538 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1528, allocations: 0 / 0.6538 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.1529, allocations: 148.8 kB / 0.654 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.153, allocations: 81.06 kB / 0.654 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.153, allocations: 3.984 kB / 0.654 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.957e-05/0.1531, allocations: 8 kB / 0.654 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.1531, allocations: 0 / 0.654 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1531, allocations: 4 kB / 0.654 GB, free: 14.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.658e-05/0.1532, allocations: 83.27 kB / 0.6541 GB, free: 14.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1532, allocations: 32 / 0.6541 GB, free: 14.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000233/0.1534, allocations: 24 kB / 0.6541 GB, free: 14.39 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 (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.0001448/0.1536, allocations: 111.2 kB / 0.6543 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.1537, allocations: 31.92 kB / 0.6543 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1537, allocations: 0 / 0.6543 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.548e-05/0.1538, allocations: 12.06 kB / 0.6543 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.1539, allocations: 11.98 kB / 0.6543 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.1542, allocations: 132.6 kB / 0.6544 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.1544, allocations: 0.677 MB / 0.6551 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.318e-05/0.1544, allocations: 7.906 kB / 0.6551 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.1545, allocations: 7.5 kB / 0.6551 GB, free: 13.34 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1545, allocations: 4 kB / 0.6551 GB, free: 13.34 MB / 462.1 MB Notification: Performance of Templates: time 0.002446/0.1569, allocations: 0.6309 MB / 0.6557 GB, free: 12.71 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: