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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008721/0.0008721, allocations: 92 kB / 15.06 MB, free: 1.098 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.0009275/0.0009274, allocations: 172.7 kB / 15.95 MB, free: 208 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.308/1.308, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001796/0.001796, allocations: 258.9 kB / 291.3 MB, free: 2 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.7823/0.7823, allocations: 144.7 MB / 487.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004132, allocations: 16.48 kB / 0.5686 GB, free: 38.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.136, allocations: 83.1 MB / 0.6497 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.001546/0.1376, allocations: 1.162 MB / 0.6509 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003154/0.1379, allocations: 135.7 kB / 0.651 GB, free: 2.211 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.1379, allocations: 0.5 kB / 0.651 GB, free: 2.211 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.138, allocations: 8.422 kB / 0.651 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.353e-05/0.138, allocations: 4.5 kB / 0.651 GB, free: 2.199 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.1382, allocations: 24.42 kB / 0.651 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.225e-05/0.1383, allocations: 44.38 kB / 0.6511 GB, free: 2.133 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.1384, allocations: 14.41 kB / 0.6511 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.602e-05/0.1384, allocations: 11.97 kB / 0.6511 GB, free: 2.109 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.118e-05/0.1385, allocations: 16.67 kB / 0.6511 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1385, allocations: 4 kB / 0.6511 GB, free: 2.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.1386, allocations: 24.56 kB / 0.6511 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.1386, allocations: 12.62 kB / 0.6511 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.1386, allocations: 25.7 kB / 0.6512 GB, free: 2.023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.052e-05/0.1387, allocations: 44.92 kB / 0.6512 GB, free: 1.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1387, allocations: 0 / 0.6512 GB, free: 1.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1388, allocations: 0 / 0.6512 GB, free: 1.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1388, allocations: 0.6562 kB / 0.6512 GB, free: 1.98 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.0003921/0.1392, allocations: 361.5 kB / 0.6516 GB, free: 1.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1392, allocations: 8.031 kB / 0.6516 GB, free: 1.574 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.1392, allocations: 35.12 kB / 0.6516 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009709/0.1402, allocations: 249.7 kB / 0.6518 GB, free: 1.293 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.1403, allocations: 167 kB / 0.652 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1404, allocations: 10.45 kB / 0.652 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.1404, allocations: 0 / 0.652 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/0.1409, allocations: 211.5 kB / 0.6522 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1409, allocations: 0 / 0.6522 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.141, allocations: 1.125 kB / 0.6522 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.141, allocations: 0 / 0.6522 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007644/0.1417, allocations: 324.7 kB / 0.6525 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008161/0.1426, allocations: 467.1 kB / 0.653 GB, free: 60 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009827/0.1436, allocations: 338.2 kB / 0.6533 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.1439, allocations: 120.8 kB / 0.6534 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1439, allocations: 4 kB / 0.6534 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.144, allocations: 38.5 kB / 0.6534 GB, free: 15.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.144, allocations: 0 / 0.6534 GB, free: 15.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.001067/0.145, allocations: 369.2 kB / 0.6538 GB, free: 15.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.1451, allocations: 55.36 kB / 0.6538 GB, free: 15.11 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.1452, allocations: 126 kB / 0.654 GB, free: 14.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1452, allocations: 25.7 kB / 0.654 GB, free: 14.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.1453, allocations: 84.14 kB / 0.6541 GB, free: 14.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.1453, allocations: 7.906 kB / 0.6541 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.1453, allocations: 4 kB / 0.6541 GB, free: 14.85 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1454, allocations: 318.8 kB / 0.6544 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.1458, allocations: 111.9 kB / 0.6545 GB, free: 14.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.1461, allocations: 111.9 kB / 0.6546 GB, free: 14.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.1464, allocations: 103.8 kB / 0.6547 GB, free: 14.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1464, allocations: 0 / 0.6547 GB, free: 14.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006344/0.147, allocations: 257.4 kB / 0.6549 GB, free: 13.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1471, allocations: 4 kB / 0.6549 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1471, allocations: 4 kB / 0.6549 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1471, allocations: 0 / 0.6549 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.1473, allocations: 43.94 kB / 0.655 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1473, allocations: 7.953 kB / 0.655 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.1475, allocations: 43.89 kB / 0.655 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1475, allocations: 8 kB / 0.655 GB, free: 13.84 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 7.566e-05/0.1476, allocations: 113.8 kB / 0.6552 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1476, allocations: 3.906 kB / 0.6552 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.1477, allocations: 11.91 kB / 0.6552 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1477, allocations: 0 / 0.6552 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1477, allocations: 0 / 0.6552 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1477, allocations: 3.953 kB / 0.6552 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.1479, allocations: 213.5 kB / 0.6554 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1479, allocations: 3.938 kB / 0.6554 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.1481, allocations: 43.94 kB / 0.6554 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1481, allocations: 0 / 0.6554 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1482, allocations: 0 / 0.6554 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1482, allocations: 4 kB / 0.6554 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1482, allocations: 0 / 0.6554 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006909/0.1489, allocations: 351.2 kB / 0.6558 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.1489, allocations: 85.02 kB / 0.6558 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.149, allocations: 4 kB / 0.6558 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.1492, allocations: 35.95 kB / 0.6559 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.1492, allocations: 7.984 kB / 0.6559 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1492, allocations: 0 / 0.6559 GB, free: 12.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.798e-05/0.1493, allocations: 95.58 kB / 0.656 GB, free: 12.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1493, allocations: 11.94 kB / 0.656 GB, free: 12.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1495, allocations: 15.95 kB / 0.656 GB, free: 12.76 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.0009194/0.1504, allocations: 0.8689 MB / 0.6569 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006686/0.1511, allocations: 239.8 kB / 0.6571 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1511, allocations: 0 / 0.6571 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.1515, allocations: 119.8 kB / 0.6572 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1517, allocations: 8 kB / 0.6572 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.1538, allocations: 0.9115 MB / 0.6581 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.154, allocations: 0.6926 MB / 0.6588 GB, free: 9.828 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.412e-05/0.1541, allocations: 19.98 kB / 0.6588 GB, free: 9.809 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.1542, allocations: 15.44 kB / 0.6588 GB, free: 9.793 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1542, allocations: 0 / 0.6588 GB, free: 9.793 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01051/0.1647, allocations: 1.658 MB / 0.6604 GB, free: 8.27 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.1649, allocations: 180.4 kB / 0.6606 GB, free: 8.035 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/1.758, allocations: 0 / 0.6606 GB, free: 8.035 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) Environment - environmentSimulation: