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/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.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",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.0009237/0.0009236, allocations: 99.31 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.0009752/0.0009752, 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.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001672/0.001672, allocations: 258.7 kB / 291.2 MB, free: 2.016 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.8152/0.8152, allocations: 144.6 MB / 487 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003995, allocations: 14.69 kB / 0.5684 GB, free: 38.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 83.09 MB / 0.6495 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.00127/0.1528, allocations: 1.142 MB / 0.6506 GB, free: 2.391 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002857/0.1531, allocations: 179.6 kB / 0.6508 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.1531, allocations: 0 / 0.6508 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.165e-06/0.1532, allocations: 2.281 kB / 0.6508 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.724e-05/0.1532, allocations: 0 / 0.6508 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.1533, allocations: 35.83 kB / 0.6509 GB, free: 2.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.444e-05/0.1534, allocations: 11.98 kB / 0.6509 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.1534, allocations: 4 kB / 0.6509 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.1535, allocations: 10.67 kB / 0.6509 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.11e-05/0.1535, allocations: 15.92 kB / 0.6509 GB, free: 2.141 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-06/0.1535, allocations: 0 / 0.6509 GB, free: 2.141 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.994e-05/0.1536, allocations: 31.97 kB / 0.6509 GB, free: 2.109 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-06/0.1536, allocations: 0 / 0.6509 GB, free: 2.109 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.1536, allocations: 25.7 kB / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.2e-05/0.1537, allocations: 27.94 kB / 0.651 GB, free: 2.051 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.1537, allocations: 1.625 kB / 0.651 GB, free: 2.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1537, allocations: 0 / 0.651 GB, free: 2.051 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.645e-06/0.1537, allocations: 3.938 kB / 0.651 GB, free: 2.047 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.0003354/0.154, allocations: 344.4 kB / 0.6513 GB, free: 1.664 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1541, allocations: 10 kB / 0.6513 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.1541, allocations: 38.5 kB / 0.6514 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.353e-05/0.1541, allocations: 0 / 0.6514 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.142e-05/0.1542, allocations: 167.3 kB / 0.6515 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1542, allocations: 7.891 kB / 0.6515 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-06/0.1543, allocations: 0.7812 kB / 0.6515 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1544, allocations: 63.31 kB / 0.6516 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-06/0.1544, allocations: 4 kB / 0.6516 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-06/0.1544, allocations: 0 / 0.6516 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-06/0.1544, allocations: 0.7188 kB / 0.6516 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.1546, allocations: 50.45 kB / 0.6516 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.1549, allocations: 253.5 kB / 0.6519 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.1551, allocations: 44.41 kB / 0.6519 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.447e-05/0.1551, allocations: 81.77 kB / 0.652 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.1552, allocations: 31.69 kB / 0.652 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1552, allocations: 0 / 0.652 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003101/0.1555, allocations: 105.4 kB / 0.6521 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.1555, allocations: 52.12 kB / 0.6522 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.848e-05/0.1556, allocations: 102.5 kB / 0.6523 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.1556, allocations: 29.7 kB / 0.6523 GB, free: 496 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.1556, allocations: 81.02 kB / 0.6524 GB, free: 412 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.1557, allocations: 3.906 kB / 0.6524 GB, free: 408 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.1557, allocations: 0.75 kB / 0.6524 GB, free: 408 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.1558, allocations: 328.8 kB / 0.6527 GB, free: 72 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.1559, allocations: 15.98 kB / 0.6527 GB, free: 56 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.447e-05/0.1559, allocations: 25.27 kB / 0.6527 GB, free: 32 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.539e-05/0.156, allocations: 17.27 kB / 0.6528 GB, free: 16 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.156, allocations: 0.625 kB / 0.6528 GB, free: 16 kB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000212/0.1563, allocations: 87.91 kB / 0.6528 GB, free: 15.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.1563, allocations: 7.312 kB / 0.6528 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.1563, allocations: 0 / 0.6528 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.1563, allocations: 0 / 0.6528 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.1564, allocations: 11.98 kB / 0.6529 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.1564, allocations: 0 / 0.6529 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.1564, allocations: 8 kB / 0.6529 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.1564, allocations: 5.203 kB / 0.6529 GB, free: 15.9 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 5.677e-05/0.1565, allocations: 109.8 kB / 0.653 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.1565, allocations: 4.656 kB / 0.653 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.1568, allocations: 87.34 kB / 0.6531 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1568, allocations: 7.875 kB / 0.6531 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1568, allocations: 4.25 kB / 0.6531 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.1568, allocations: 0 / 0.6531 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.157, allocations: 161.6 kB / 0.6532 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.157, allocations: 3.938 kB / 0.6532 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/0.157, allocations: 12 kB / 0.6532 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.157, allocations: 0 / 0.6532 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1571, allocations: 3.984 kB / 0.6532 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1571, allocations: 0 / 0.6532 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1571, allocations: 0 / 0.6532 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.1573, allocations: 175.5 kB / 0.6534 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.1573, allocations: 81.06 kB / 0.6535 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.1574, allocations: 0 / 0.6535 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.1574, allocations: 8.281 kB / 0.6535 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.1575, allocations: 7.984 kB / 0.6535 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1575, allocations: 4 kB / 0.6535 GB, free: 15.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.532e-05/0.1575, allocations: 83.28 kB / 0.6536 GB, free: 15.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1575, allocations: 3.938 kB / 0.6536 GB, free: 15.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.1578, allocations: 8 kB / 0.6536 GB, free: 15.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 (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.0005256/0.1583, allocations: 0.7202 MB / 0.6543 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.1585, allocations: 44 kB / 0.6543 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1585, allocations: 0 / 0.6543 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.726e-05/0.1586, allocations: 31.92 kB / 0.6544 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.0001506/0.1587, allocations: 4.109 kB / 0.6544 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.1591, allocations: 158.1 kB / 0.6545 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.1593, allocations: 0.677 MB / 0.6552 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.873e-05/0.1593, allocations: 0 / 0.6552 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.1594, allocations: 15.44 kB / 0.6552 GB, free: 13.31 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1594, allocations: 0 / 0.6552 GB, free: 13.31 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.1824, allocations: 1.168 MB / 0.6564 GB, free: 12.29 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.1827, allocations: 198.9 kB / 0.6565 GB, free: 12.05 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.093, allocations: 64 / 0.6565 GB, free: 12.05 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) Environment - environmentSimulation: