Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008554/0.0008554, allocations: 99.39 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.0008898/0.0008897, allocations: 177.3 kB / 15.95 MB, free: 216 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.226/1.226, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 270.6 kB / 291.3 MB, free: 1.984 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.7931/0.7931, allocations: 144.6 MB / 487 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003902, allocations: 20.95 kB / 0.5683 GB, free: 38.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1368, allocations: 83.08 MB / 0.6494 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.001515/0.1384, allocations: 1.169 MB / 0.6506 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003034/0.1387, allocations: 135.7 kB / 0.6507 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.1388, allocations: 4 kB / 0.6507 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.1388, allocations: 3.984 kB / 0.6507 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.698e-05/0.1389, allocations: 4.812 kB / 0.6507 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.1391, allocations: 27.91 kB / 0.6507 GB, free: 2.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.622e-05/0.1391, allocations: 23.39 kB / 0.6508 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1393, allocations: 19.97 kB / 0.6508 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.692e-05/0.1393, allocations: 7.938 kB / 0.6508 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.895e-05/0.1394, allocations: 15.92 kB / 0.6508 GB, free: 2.199 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1394, allocations: 4.562 kB / 0.6508 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.262e-05/0.1395, allocations: 23.97 kB / 0.6508 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.1395, allocations: 8.594 kB / 0.6508 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.1395, allocations: 30.2 kB / 0.6509 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.197e-05/0.1396, allocations: 47.91 kB / 0.6509 GB, free: 2.082 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.1396, allocations: 0.5312 kB / 0.6509 GB, free: 2.082 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1396, allocations: 0.5312 kB / 0.6509 GB, free: 2.082 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.1396, allocations: 0 / 0.6509 GB, free: 2.082 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004324/0.1401, allocations: 354 kB / 0.6513 GB, free: 1.691 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1401, allocations: 12.03 kB / 0.6513 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.1412, allocations: 245.3 kB / 0.6515 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1413, allocations: 163.9 kB / 0.6517 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1413, allocations: 3.953 kB / 0.6517 GB, free: 1.242 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.1414, allocations: 12.78 kB / 0.6517 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.1419, allocations: 208.5 kB / 0.6519 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1419, allocations: 6.5 kB / 0.6519 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.142, allocations: 4 kB / 0.6519 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.142, allocations: 4 kB / 0.6519 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008347/0.1428, allocations: 313.7 kB / 0.6522 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/0.1437, allocations: 466.3 kB / 0.6526 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.1448, allocations: 335.2 kB / 0.6529 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1449, allocations: 8.062 kB / 0.653 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1449, allocations: 30.56 kB / 0.653 GB, free: 15.83 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1449, allocations: 0 / 0.653 GB, free: 15.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.00115/0.1461, allocations: 369.3 kB / 0.6533 GB, free: 15.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.1461, allocations: 51.41 kB / 0.6534 GB, free: 15.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.1462, allocations: 130 kB / 0.6535 GB, free: 15.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1462, allocations: 25.7 kB / 0.6535 GB, free: 15.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.1463, allocations: 84.14 kB / 0.6536 GB, free: 15.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.1463, allocations: 11.91 kB / 0.6536 GB, free: 15.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.1463, allocations: 0 / 0.6536 GB, free: 15.13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.1464, allocations: 314.8 kB / 0.6539 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.1468, allocations: 115.9 kB / 0.654 GB, free: 14.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.1471, allocations: 115.9 kB / 0.6541 GB, free: 14.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.1475, allocations: 103.9 kB / 0.6542 GB, free: 14.49 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1475, allocations: 0 / 0.6542 GB, free: 14.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007421/0.1482, allocations: 261.3 kB / 0.6545 GB, free: 14.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1482, allocations: 4 kB / 0.6545 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1482, allocations: 0 / 0.6545 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1483, allocations: 4 kB / 0.6545 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.1485, allocations: 39.94 kB / 0.6545 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1485, allocations: 4 kB / 0.6545 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1487, allocations: 43.84 kB / 0.6546 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1488, allocations: 4 kB / 0.6546 GB, free: 14.13 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 (3): * Single equations (assignments): 3 * 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 9.228e-05/0.1489, allocations: 117.8 kB / 0.6547 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.1489, allocations: 11.84 kB / 0.6547 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.1489, allocations: 15.91 kB / 0.6547 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1489, allocations: 384 / 0.6547 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.149, allocations: 0 / 0.6547 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.149, allocations: 0 / 0.6547 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.1492, allocations: 209.5 kB / 0.6549 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1492, allocations: 3.938 kB / 0.6549 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.1494, allocations: 47.94 kB / 0.655 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1494, allocations: 0 / 0.655 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1495, allocations: 0 / 0.655 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1495, allocations: 0 / 0.655 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1495, allocations: 4 kB / 0.655 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/0.1503, allocations: 355.2 kB / 0.6553 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.1503, allocations: 81.02 kB / 0.6554 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.1504, allocations: 0 / 0.6554 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.1506, allocations: 39.95 kB / 0.6554 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1506, allocations: 4 kB / 0.6554 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.1507, allocations: 3.984 kB / 0.6554 GB, free: 13.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.978e-05/0.1507, allocations: 95.27 kB / 0.6555 GB, free: 13.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1507, allocations: 0 / 0.6555 GB, free: 13.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.1509, allocations: 12 kB / 0.6555 GB, free: 13.05 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 (3): * Single equations (assignments): 3 * 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.0001097/0.1511, allocations: 95.25 kB / 0.6556 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007654/0.1518, allocations: 235.7 kB / 0.6559 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1518, allocations: 0 / 0.6559 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.1522, allocations: 123.9 kB / 0.656 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.1524, allocations: 9.672 kB / 0.656 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008563/0.1533, allocations: 296.4 kB / 0.6563 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.1535, allocations: 0.6887 MB / 0.6569 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.582e-05/0.1536, allocations: 23.98 kB / 0.657 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.1537, allocations: 11.42 kB / 0.657 GB, free: 11.52 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1537, allocations: 0 / 0.657 GB, free: 11.52 MB / 462.1 MB Notification: Performance of Templates: time 0.00269/0.1564, allocations: 0.8097 MB / 0.6578 GB, free: 10.72 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) Environment - environmentSimulation: