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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",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.001233/0.001233, allocations: 99.55 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.001317/0.001317, 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.425/1.425, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001651/0.001651, allocations: 274.5 kB / 291.2 MB, free: 1.895 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.7954/0.7954, allocations: 144.6 MB / 487 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007488/0.000749, allocations: 18.09 kB / 0.5684 GB, free: 38.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2021, allocations: 83.09 MB / 0.6495 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.001503/0.2036, allocations: 1.159 MB / 0.6507 GB, free: 2.379 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009263/0.2045, allocations: 0.5168 MB / 0.6512 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.2046, allocations: 0 / 0.6512 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.2046, allocations: 0 / 0.6512 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.2047, allocations: 12.73 kB / 0.6512 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.2049, allocations: 42.2 kB / 0.6512 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.205, allocations: 11.98 kB / 0.6512 GB, free: 1.797 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.2051, allocations: 7.984 kB / 0.6512 GB, free: 1.789 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.2052, allocations: 15.92 kB / 0.6513 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.278e-05/0.2053, allocations: 7.984 kB / 0.6513 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.2053, allocations: 5.938 kB / 0.6513 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.231e-05/0.2054, allocations: 47.95 kB / 0.6513 GB, free: 1.715 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.886e-06/0.2054, allocations: 0 / 0.6513 GB, free: 1.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.2054, allocations: 29.7 kB / 0.6513 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.127e-05/0.2055, allocations: 43.94 kB / 0.6514 GB, free: 1.637 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.2055, allocations: 0.5938 kB / 0.6514 GB, free: 1.637 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2055, allocations: 0 / 0.6514 GB, free: 1.637 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.2055, allocations: 0.625 kB / 0.6514 GB, free: 1.637 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.0003943/0.2059, allocations: 345.6 kB / 0.6517 GB, free: 1.254 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.206, allocations: 8.031 kB / 0.6517 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.206, allocations: 38.56 kB / 0.6518 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.082e-05/0.206, allocations: 3.906 kB / 0.6518 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2062, allocations: 172.1 kB / 0.6519 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.2062, allocations: 3.953 kB / 0.6519 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.2062, allocations: 0 / 0.6519 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.2064, allocations: 51.81 kB / 0.652 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2064, allocations: 0 / 0.652 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2064, allocations: 0 / 0.652 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2064, allocations: 0 / 0.652 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.2065, allocations: 25.39 kB / 0.652 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.2069, allocations: 250.6 kB / 0.6523 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.207, allocations: 36.05 kB / 0.6523 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008798/0.2079, allocations: 0.4978 MB / 0.6528 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.208, allocations: 31.78 kB / 0.6528 GB, free: 15.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.208, allocations: 0 / 0.6528 GB, free: 15.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.000243/0.2082, allocations: 76.08 kB / 0.6529 GB, free: 15.87 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.2083, allocations: 55.34 kB / 0.6529 GB, free: 15.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.2084, allocations: 107.5 kB / 0.653 GB, free: 15.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.2084, allocations: 25.7 kB / 0.6531 GB, free: 15.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.2085, allocations: 88.14 kB / 0.6531 GB, free: 15.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.2085, allocations: 8.531 kB / 0.6531 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.2085, allocations: 0 / 0.6531 GB, free: 15.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.2086, allocations: 319.7 kB / 0.6535 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.2086, allocations: 12.75 kB / 0.6535 GB, free: 15.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.135e-05/0.2087, allocations: 14.39 kB / 0.6535 GB, free: 15.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.68e-05/0.2087, allocations: 12 kB / 0.6535 GB, free: 15.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2088, allocations: 0 / 0.6535 GB, free: 15.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001223/0.2089, allocations: 59.8 kB / 0.6535 GB, free: 15.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2089, allocations: 8 kB / 0.6536 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2089, allocations: 0 / 0.6536 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2089, allocations: 0 / 0.6536 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.209, allocations: 8.75 kB / 0.6536 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.209, allocations: 3.938 kB / 0.6536 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.2091, allocations: 10.92 kB / 0.6536 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.2091, allocations: 0 / 0.6536 GB, free: 15.11 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 8.342e-05/0.2092, allocations: 117.8 kB / 0.6537 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.2093, allocations: 3.906 kB / 0.6537 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.2094, allocations: 66.8 kB / 0.6538 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2095, allocations: 0 / 0.6538 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2095, allocations: 4 kB / 0.6538 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2095, allocations: 0.5625 kB / 0.6538 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.2097, allocations: 171.3 kB / 0.6539 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2097, allocations: 0 / 0.6539 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/0.2098, allocations: 4 kB / 0.6539 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.2098, allocations: 4 kB / 0.6539 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.2098, allocations: 1.094 kB / 0.6539 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2098, allocations: 3.938 kB / 0.6539 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2098, allocations: 3.938 kB / 0.6539 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.21, allocations: 155.8 kB / 0.6541 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.21, allocations: 88.97 kB / 0.6542 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.21, allocations: 0 / 0.6542 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.2101, allocations: 0 / 0.6542 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.2102, allocations: 7.984 kB / 0.6542 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.2102, allocations: 0 / 0.6542 GB, free: 14.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.031e-05/0.2102, allocations: 87.31 kB / 0.6543 GB, free: 14.31 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2103, allocations: 4 kB / 0.6543 GB, free: 14.31 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002992/0.2106, allocations: 19.98 kB / 0.6543 GB, free: 14.29 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.0005947/0.2112, allocations: 0.7046 MB / 0.655 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.2113, allocations: 27.98 kB / 0.655 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2113, allocations: 0 / 0.655 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.2114, allocations: 15.98 kB / 0.655 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.2115, allocations: 0 / 0.655 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.2119, allocations: 178.3 kB / 0.6552 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.2122, allocations: 0.677 MB / 0.6558 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.329e-05/0.2123, allocations: 4.547 kB / 0.6559 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.2123, allocations: 11.44 kB / 0.6559 GB, free: 12.58 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2123, allocations: 0 / 0.6559 GB, free: 12.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.2276, allocations: 1.383 MB / 0.6572 GB, free: 11.33 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/0.2279, allocations: 181.6 kB / 0.6574 GB, free: 11.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/2.332, allocations: 0 / 0.6574 GB, free: 11.09 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: