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.0009552/0.0009551, allocations: 99.62 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.001245/0.001245, 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.335/1.335, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 262.7 kB / 291.2 MB, free: 2.012 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.7456/0.7456, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004428, allocations: 18.17 kB / 0.5684 GB, free: 38.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1955, allocations: 83.09 MB / 0.6495 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.001581/0.1972, allocations: 1.17 MB / 0.6507 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003304/0.1975, allocations: 141.1 kB / 0.6508 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.1976, allocations: 0 / 0.6508 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.1976, allocations: 0 / 0.6508 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.1977, allocations: 7.938 kB / 0.6508 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1978, allocations: 28.48 kB / 0.6508 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.251e-05/0.1979, allocations: 16.48 kB / 0.6509 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.198, allocations: 18.77 kB / 0.6509 GB, free: 2.098 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.1981, allocations: 19.92 kB / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.283e-05/0.1981, allocations: 16.42 kB / 0.6509 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.1982, allocations: 0 / 0.6509 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.126e-05/0.1982, allocations: 24.52 kB / 0.6509 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.1983, allocations: 8.953 kB / 0.6509 GB, free: 2.031 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.1983, allocations: 29.7 kB / 0.651 GB, free: 1.996 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.441e-05/0.1984, allocations: 39.92 kB / 0.651 GB, free: 1.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1984, allocations: 0.5625 kB / 0.651 GB, free: 1.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1984, allocations: 0.9688 kB / 0.651 GB, free: 1.957 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1984, allocations: 4 kB / 0.651 GB, free: 1.953 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.0004124/0.1988, allocations: 357 kB / 0.6514 GB, free: 1.559 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1989, allocations: 8.75 kB / 0.6514 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.1989, allocations: 38.55 kB / 0.6514 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.2, allocations: 241.2 kB / 0.6516 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.2002, allocations: 175.7 kB / 0.6518 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.2002, allocations: 8.609 kB / 0.6518 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.2002, allocations: 8 kB / 0.6518 GB, free: 1.047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.2008, allocations: 205.1 kB / 0.652 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2008, allocations: 4.531 kB / 0.652 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.2008, allocations: 4 kB / 0.652 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2008, allocations: 5.906 kB / 0.652 GB, free: 0.832 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000837/0.2017, allocations: 317 kB / 0.6523 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.2026, allocations: 458.3 kB / 0.6528 GB, free: 36 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.2052, allocations: 333.2 kB / 0.6531 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/0.2053, allocations: 4.078 kB / 0.6531 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.2053, allocations: 34.62 kB / 0.6531 GB, free: 15.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 2.975e-06/0.2054, allocations: 4 kB / 0.6531 GB, free: 15.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.001873/0.2072, allocations: 369.2 kB / 0.6535 GB, free: 15.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.2073, allocations: 55.36 kB / 0.6535 GB, free: 15.22 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.2074, allocations: 118 kB / 0.6536 GB, free: 15.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2074, allocations: 25.7 kB / 0.6537 GB, free: 15.06 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.2075, allocations: 96.12 kB / 0.6538 GB, free: 14.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.2075, allocations: 7.906 kB / 0.6538 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-06/0.2075, allocations: 0 / 0.6538 GB, free: 14.95 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2077, allocations: 314.8 kB / 0.6541 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.208, allocations: 111.9 kB / 0.6542 GB, free: 14.53 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.2084, allocations: 115.9 kB / 0.6543 GB, free: 14.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.2088, allocations: 103.9 kB / 0.6544 GB, free: 14.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2088, allocations: 0 / 0.6544 GB, free: 14.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007697/0.2096, allocations: 257.3 kB / 0.6546 GB, free: 14.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.2096, allocations: 5.562 kB / 0.6546 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2096, allocations: 4 kB / 0.6546 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2096, allocations: 0 / 0.6546 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.2099, allocations: 43.94 kB / 0.6547 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2099, allocations: 0 / 0.6547 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.2102, allocations: 51.78 kB / 0.6547 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.2102, allocations: 4.328 kB / 0.6547 GB, free: 13.95 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.347e-05/0.2103, allocations: 117.8 kB / 0.6548 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.2103, allocations: 3.906 kB / 0.6548 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/0.2104, allocations: 11.91 kB / 0.6549 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.2104, allocations: 4.359 kB / 0.6549 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2104, allocations: 4 kB / 0.6549 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2104, allocations: 0 / 0.6549 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.2107, allocations: 209.5 kB / 0.6551 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2107, allocations: 7.938 kB / 0.6551 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.2109, allocations: 43.94 kB / 0.6551 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2109, allocations: 0 / 0.6551 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2109, allocations: 4 kB / 0.6551 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2109, allocations: 0 / 0.6551 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2109, allocations: 0 / 0.6551 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008153/0.2118, allocations: 355.2 kB / 0.6555 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.2118, allocations: 81.02 kB / 0.6555 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.2119, allocations: 3.984 kB / 0.6555 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.2121, allocations: 35.95 kB / 0.6556 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.2121, allocations: 4 kB / 0.6556 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.2122, allocations: 8 kB / 0.6556 GB, free: 12.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.876e-05/0.2122, allocations: 91.27 kB / 0.6557 GB, free: 12.89 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2122, allocations: 0 / 0.6557 GB, free: 12.89 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.2125, allocations: 12 kB / 0.6557 GB, free: 12.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 (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.001172/0.2137, allocations: 0.8801 MB / 0.6565 GB, free: 11.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000867/0.2145, allocations: 231.8 kB / 0.6568 GB, free: 11.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.2146, allocations: 0 / 0.6568 GB, free: 11.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.215, allocations: 123.9 kB / 0.6569 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.2152, allocations: 0 / 0.6569 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.2177, allocations: 0.9151 MB / 0.6578 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.2179, allocations: 0.6926 MB / 0.6585 GB, free: 9.941 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.278e-05/0.218, allocations: 23.98 kB / 0.6585 GB, free: 9.918 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.2181, allocations: 15.44 kB / 0.6585 GB, free: 9.902 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2181, allocations: 0 / 0.6585 GB, free: 9.902 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.2314, allocations: 1.642 MB / 0.6601 GB, free: 8.391 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.2317, allocations: 181.1 kB / 0.6603 GB, free: 8.152 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.056, allocations: 2.531 kB / 0.6603 GB, free: 8.152 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: