Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.634/1.634, allocations: 288.2 MB / 303.2 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009914/0.0009915, allocations: 189 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008839/0.0008836, allocations: 96.91 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004342, allocations: 11.59 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2416, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001027/0.2427, allocations: 0.5291 MB / 0.98 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001089/0.2428, allocations: 51.72 kB / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.2429, allocations: 0 / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.2429, allocations: 3.938 kB / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.23e-05/0.243, allocations: 3.984 kB / 0.9801 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.021e-05/0.2431, allocations: 15.98 kB / 0.9801 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.12e-05/0.2432, allocations: 47.89 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.2433, allocations: 33.5 kB / 0.9801 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.671e-05/0.2434, allocations: 23.86 kB / 0.9802 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.2434, allocations: 19.86 kB / 0.9802 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.2435, allocations: 4 kB / 0.9802 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.2435, allocations: 4 kB / 0.9802 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.2435, allocations: 7.938 kB / 0.9802 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.2436, allocations: 37.64 kB / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.2437, allocations: 60.08 kB / 0.9803 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2437, allocations: 0 / 0.9803 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.806e-06/0.2437, allocations: 4 kB / 0.9803 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2437, allocations: 0 / 0.9803 GB, free: 26.78 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004806/0.2442, allocations: 367 kB / 0.9806 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.2443, allocations: 16.02 kB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.2443, allocations: 46.55 kB / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.2444, allocations: 11.84 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.2446, allocations: 201.3 kB / 0.9809 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.2446, allocations: 8 kB / 0.9809 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.2446, allocations: 8 kB / 0.9809 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.2448, allocations: 87.39 kB / 0.981 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2448, allocations: 7.938 kB / 0.981 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2448, allocations: 0 / 0.981 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2448, allocations: 4 kB / 0.981 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.76e-05/0.2449, allocations: 35.98 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.2455, allocations: 452.6 kB / 0.9815 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.818e-05/0.2455, allocations: 45.17 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.2456, allocations: 0 / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.2456, allocations: 30.56 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.224e-06/0.2456, allocations: 0 / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001733/0.2458, allocations: 61.59 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2458, allocations: 81.3 kB / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.2459, allocations: 169.9 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.2459, allocations: 25.7 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.246, allocations: 115.9 kB / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.246, allocations: 3.984 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.246, allocations: 3.938 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.176e-05/0.2461, allocations: 322.8 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.2461, allocations: 7.984 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.056e-05/0.2461, allocations: 25.72 kB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.313e-05/0.2462, allocations: 8 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2462, allocations: 0 / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.276e-05/0.2463, allocations: 73.39 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2463, allocations: 4 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2463, allocations: 0 / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2463, allocations: 4 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.2464, allocations: 4 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2464, allocations: 0 / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.2464, allocations: 8.062 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.2464, allocations: 0 / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.286e-05/0.2465, allocations: 113.8 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.2466, allocations: 11.95 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.2466, allocations: 20.53 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2466, allocations: 0 / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2466, allocations: 0 / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.2466, allocations: 4 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.2469, allocations: 490.5 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2469, allocations: 0 / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.2469, allocations: 4 kB / 0.9831 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.247, allocations: 0 / 0.9831 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.247, allocations: 7.938 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.247, allocations: 0 / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.247, allocations: 0 / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.736e-05/0.2471, allocations: 95.62 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.2471, allocations: 89.02 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.2471, allocations: 4 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.2472, allocations: 0 / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.2472, allocations: 3.984 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.2472, allocations: 0 / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.432e-05/0.2473, allocations: 132.9 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2473, allocations: 0 / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001866/0.2475, allocations: 12 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0002425/0.2477, allocations: 0.7069 MB / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.297e-05/0.2478, allocations: 19.94 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2478, allocations: 0 / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.2478, allocations: 4 kB / 0.9841 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.248, allocations: 8 kB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/0.2487, allocations: 0.7266 MB / 0.9848 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.2489, allocations: 0.7082 MB / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.348e-05/0.2489, allocations: 4.438 kB / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.249, allocations: 27.42 kB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.249, allocations: 0 / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.2604, allocations: 1.601 MB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.2606, allocations: 198.8 kB / 0.9873 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/1.789, allocations: 0 / 0.9873 GB, free: 19.26 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)