Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 2.032/2.032, allocations: 289.7 MB / 302.3 MB, free: 2.156 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.0009812/0.0009813, allocations: 182.8 kB / 371.6 MB, free: 3.426 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.616/1.616, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009402/0.0009403, allocations: 91.02 kB / 0.745 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.515e-05/3.518e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.282, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.971/1.253, allocations: 138.5 MB / 1.115 GB, free: 45.06 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/1.253, allocations: 64.05 kB / 1.115 GB, free: 45.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002647/1.256, allocations: 1.147 MB / 1.116 GB, free: 44.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.014e-06/1.256, allocations: 0.5625 kB / 1.116 GB, free: 44.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.819e-06/1.256, allocations: 4.938 kB / 1.116 GB, free: 44.31 MB / 0.7448 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.0003079/1.256, allocations: 368.6 kB / 1.117 GB, free: 43.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.256, allocations: 8.688 kB / 1.117 GB, free: 43.92 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/1.257, allocations: 44.67 kB / 1.117 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/1.257, allocations: 14.84 kB / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/1.257, allocations: 180.5 kB / 1.117 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/1.257, allocations: 8.562 kB / 1.117 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/1.257, allocations: 4 kB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/1.257, allocations: 98.25 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.257, allocations: 1.156 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/1.257, allocations: 1.531 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.257, allocations: 7.938 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.775e-05/1.257, allocations: 41.56 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006825/1.258, allocations: 461.5 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.737e-05/1.258, allocations: 36.78 kB / 1.118 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/1.258, allocations: 13.84 kB / 1.118 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/1.258, allocations: 0 / 1.118 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/1.258, allocations: 43.5 kB / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.805e-06/1.258, allocations: 4 kB / 1.118 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001828/1.258, allocations: 52.86 kB / 1.118 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/1.258, allocations: 81.05 kB / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/1.258, allocations: 156.4 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/1.258, allocations: 25.7 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/1.259, allocations: 110.5 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.061e-05/1.259, allocations: 10.56 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/1.259, allocations: 4.062 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.161e-05/1.259, allocations: 318.8 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/1.259, allocations: 7.625 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/1.259, allocations: 24.53 kB / 1.118 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.422e-05/1.259, allocations: 7.375 kB / 1.118 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.259, allocations: 0 / 1.118 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.809e-05/1.259, allocations: 67.52 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.259, allocations: 12 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.259, allocations: 0.7812 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/1.259, allocations: 0 / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.97e-05/1.259, allocations: 4 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/1.259, allocations: 4 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.464e-05/1.259, allocations: 9 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/1.259, allocations: 0 / 1.118 GB, free: 42.13 MB / 0.7448 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 () * 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 5.715e-05/1.259, allocations: 108.5 kB / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/1.259, allocations: 15.84 kB / 1.119 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/1.259, allocations: 15.56 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/1.259, allocations: 0 / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/1.259, allocations: 1.25 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.259, allocations: 0.6562 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/1.26, allocations: 480.6 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.26, allocations: 0 / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/1.26, allocations: 4 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.26, allocations: 5.703 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/1.26, allocations: 2.844 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.26, allocations: 7.938 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.26, allocations: 0.5625 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.338e-05/1.26, allocations: 93.23 kB / 1.119 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/1.26, allocations: 96.47 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/1.26, allocations: 4 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/1.26, allocations: 0 / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/1.26, allocations: 3.188 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/1.26, allocations: 0.5625 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.176e-05/1.26, allocations: 124.6 kB / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.26, allocations: 0 / 1.119 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001798/1.26, allocations: 8 kB / 1.119 GB, free: 41.16 MB / 0.7448 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 () * 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.0003177/1.261, allocations: 0.7056 MB / 1.12 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.416e-05/1.261, allocations: 22.5 kB / 1.12 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.261, allocations: 0.5625 kB / 1.12 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/1.261, allocations: 8.156 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/1.261, allocations: 7.625 kB / 1.12 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/1.261, allocations: 142.1 kB / 1.12 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/1.261, allocations: 0.7018 MB / 1.121 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.298e-05/1.261, allocations: 13.48 kB / 1.121 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/1.261, allocations: 24.25 kB / 1.121 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.261, allocations: 0 / 1.121 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/1.274, allocations: 1.547 MB / 1.122 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/1.275, allocations: 158.5 kB / 1.123 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/3.017, allocations: 7.094 kB / 1.123 GB, free: 38.46 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)