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 1.755/1.755, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.00157/0.00157, allocations: 184.8 kB / 366.7 MB, free: 1.648 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.828/1.828, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008458/0.0008457, allocations: 83.19 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.801e-05/1.794e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6654/0.6654, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.8508, allocations: 137.8 MB / 1.108 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.851, allocations: 63.95 kB / 1.108 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002958/0.854, allocations: 1.144 MB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8541, allocations: 0 / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.8541, allocations: 4 kB / 1.109 GB, free: 11.18 MB / 0.7136 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.000364/0.8544, allocations: 374 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.8545, allocations: 12.03 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.8546, allocations: 15.7 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.8548, allocations: 184.9 kB / 1.11 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.8548, allocations: 0 / 1.11 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.8548, allocations: 4.531 kB / 1.11 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001061/0.8549, allocations: 32 kB / 1.11 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.8551, allocations: 87.17 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.8551, allocations: 0 / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.8551, allocations: 4 kB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.8551, allocations: 3.938 kB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006487/0.8558, allocations: 417.4 kB / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.786e-05/0.8559, allocations: 42.52 kB / 1.11 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.8559, allocations: 10.47 kB / 1.11 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.8559, allocations: 8.5 kB / 1.11 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.856, allocations: 35.28 kB / 1.11 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.856, allocations: 0.6562 kB / 1.11 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002117/0.8562, allocations: 39.45 kB / 1.11 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.8563, allocations: 81.09 kB / 1.11 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.8565, allocations: 132.2 kB / 1.111 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.8565, allocations: 30.81 kB / 1.111 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.442e-05/0.8566, allocations: 112.1 kB / 1.111 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.8566, allocations: 5.844 kB / 1.111 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.8566, allocations: 0 / 1.111 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.8568, allocations: 314.8 kB / 1.111 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.8569, allocations: 8 kB / 1.111 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/0.8569, allocations: 26.77 kB / 1.111 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.857, allocations: 9.281 kB / 1.111 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.857, allocations: 0 / 1.111 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.128e-05/0.8571, allocations: 56.3 kB / 1.111 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.8571, allocations: 7.953 kB / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.8571, allocations: 7.984 kB / 1.111 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.8571, allocations: 1.469 kB / 1.111 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.8572, allocations: 7.391 kB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8572, allocations: 0 / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.8573, allocations: 7.938 kB / 1.111 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.8573, allocations: 3.922 kB / 1.111 GB, free: 8.953 MB / 0.7136 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 7.294e-05/0.8573, allocations: 101.8 kB / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001054/0.8575, allocations: 58.38 kB / 1.111 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.8575, allocations: 7.953 kB / 1.111 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.8576, allocations: 20.89 kB / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.8576, allocations: 0 / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8576, allocations: 0 / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8576, allocations: 4 kB / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.858, allocations: 451.3 kB / 1.112 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.858, allocations: 0 / 1.112 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.858, allocations: 6.438 kB / 1.112 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.858, allocations: 2.125 kB / 1.112 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.858, allocations: 0 / 1.112 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.858, allocations: 0 / 1.112 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.8581, allocations: 2.625 kB / 1.112 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.8582, allocations: 95.81 kB / 1.112 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.8582, allocations: 89 kB / 1.112 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.8583, allocations: 0 / 1.112 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.513e-05/0.8583, allocations: 4 kB / 1.112 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.8583, allocations: 7.938 kB / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.8583, allocations: 0 / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.902e-05/0.8584, allocations: 103.3 kB / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8584, allocations: 4.031 kB / 1.112 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002021/0.8586, allocations: 8 kB / 1.112 GB, free: 7.906 MB / 0.7136 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.0004395/0.8591, allocations: 0.6876 MB / 1.113 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.963e-05/0.8592, allocations: 23.97 kB / 1.113 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.8592, allocations: 0 / 1.113 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.8592, allocations: 4 kB / 1.113 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.8593, allocations: 9.531 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.8597, allocations: 142.5 kB / 1.113 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.86, allocations: 0.7051 MB / 1.114 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.218e-05/0.8601, allocations: 4.188 kB / 1.114 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.8601, allocations: 23.42 kB / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of SimCode: time 3.8e-07/0.8602, allocations: 0 / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.8807, allocations: 0.9792 MB / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.8809, allocations: 145.8 kB / 1.115 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.464, allocations: 0 / 1.115 GB, free: 5.082 MB / 0.7136 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)