Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009953/0.0009954, allocations: 188.8 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 94.41 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.275e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2325, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.816/1.049, allocations: 131.6 MB / 1.014 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/1.049, allocations: 67.47 kB / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002633/1.052, allocations: 1.149 MB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/1.052, allocations: 4 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.067e-06/1.052, allocations: 4 kB / 1.015 GB, free: 4.719 MB / 0.6355 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.0003446/1.052, allocations: 364.8 kB / 1.015 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.052, allocations: 12.03 kB / 1.015 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/1.052, allocations: 11.84 kB / 1.015 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/1.052, allocations: 186.8 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/1.052, allocations: 0 / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/1.052, allocations: 4 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.225e-05/1.052, allocations: 37.81 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/1.052, allocations: 81.09 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/1.052, allocations: 0 / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/1.052, allocations: 3.984 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.053, allocations: 4 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/1.053, allocations: 418.1 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.623e-05/1.053, allocations: 40.59 kB / 1.016 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/1.053, allocations: 12.91 kB / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/1.053, allocations: 8.062 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/1.053, allocations: 34.17 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/1.053, allocations: 0 / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001571/1.053, allocations: 52.78 kB / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/1.053, allocations: 77.11 kB / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/1.054, allocations: 122.8 kB / 1.016 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/1.054, allocations: 30.61 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/1.054, allocations: 113.5 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-06/1.054, allocations: 7.906 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/1.054, allocations: 0 / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.054, allocations: 321 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/1.054, allocations: 4 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/1.054, allocations: 20.66 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/1.054, allocations: 12 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/1.054, allocations: 0 / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.773e-05/1.054, allocations: 68.17 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.054, allocations: 4 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.054, allocations: 4 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/1.054, allocations: 0 / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/1.054, allocations: 4 kB / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/1.054, allocations: 0 / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/1.054, allocations: 7.938 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/1.054, allocations: 8 kB / 1.017 GB, free: 2.57 MB / 0.6355 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 6.421e-05/1.054, allocations: 103 kB / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.611e-05/1.054, allocations: 56.86 kB / 1.017 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/1.054, allocations: 4 kB / 1.017 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/1.054, allocations: 15.58 kB / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.054, allocations: 0 / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.054, allocations: 3.938 kB / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.054, allocations: 3.984 kB / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/1.055, allocations: 459.3 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.055, allocations: 0 / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/1.055, allocations: 3.984 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.055, allocations: 4 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/1.055, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1.055, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.055, allocations: 0 / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.737e-05/1.055, allocations: 89.98 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/1.055, allocations: 89 kB / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/1.055, allocations: 0 / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.955e-05/1.055, allocations: 0 / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/1.055, allocations: 7.062 kB / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/1.055, allocations: 0 / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.497e-05/1.055, allocations: 107.2 kB / 1.018 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.055, allocations: 0 / 1.018 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001716/1.055, allocations: 11.91 kB / 1.018 GB, free: 1.566 MB / 0.6355 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.0003679/1.056, allocations: 0.6965 MB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.061e-05/1.056, allocations: 15.31 kB / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.056, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/1.056, allocations: 7.25 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/1.056, allocations: 7.953 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/1.056, allocations: 141 kB / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/1.057, allocations: 0.7043 MB / 1.019 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.455e-05/1.057, allocations: 192 / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/1.057, allocations: 27.98 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.057, allocations: 7.875 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/1.074, allocations: 0.9839 MB / 1.02 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/1.075, allocations: 165.2 kB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/2.532, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)