Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_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.637/1.637, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.00103/0.00103, allocations: 184.8 kB / 366.7 MB, free: 1.645 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.808/1.808, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0009102/0.0009102, allocations: 86.22 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.166e-05/2.167e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7309/0.7309, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2045/0.9355, allocations: 137.8 MB / 1.108 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.9358, allocations: 67.97 kB / 1.108 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003052/0.9389, allocations: 1.146 MB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.063e-06/0.9389, allocations: 0.5625 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.9389, allocations: 4 kB / 1.109 GB, free: 11.11 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.0004112/0.9394, allocations: 367.6 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.9394, allocations: 12.59 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.9395, allocations: 16.2 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.9397, allocations: 183.8 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.9397, allocations: 0 / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.9397, allocations: 4.688 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001136/0.9399, allocations: 39.97 kB / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.94, allocations: 80.62 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.94, allocations: 0 / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.9401, allocations: 0.8125 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.9401, allocations: 4 kB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006597/0.9407, allocations: 427.7 kB / 1.11 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.055e-05/0.9408, allocations: 37.98 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.9409, allocations: 14.84 kB / 1.11 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.9409, allocations: 4.062 kB / 1.11 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.9409, allocations: 35.56 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.9409, allocations: 0.5312 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001839/0.9411, allocations: 42.98 kB / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.9412, allocations: 81.09 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.9413, allocations: 132.9 kB / 1.111 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.9413, allocations: 27.2 kB / 1.111 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.9414, allocations: 108.1 kB / 1.111 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-06/0.9414, allocations: 13.5 kB / 1.111 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.9415, allocations: 0 / 1.111 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9416, allocations: 314.8 kB / 1.111 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.9416, allocations: 9.297 kB / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.319e-05/0.9417, allocations: 17.72 kB / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.849e-05/0.9417, allocations: 12.81 kB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9417, allocations: 1.844 kB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.058e-05/0.9418, allocations: 53.61 kB / 1.111 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9418, allocations: 11.94 kB / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.9419, allocations: 4 kB / 1.111 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.9419, allocations: 4.656 kB / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.371e-05/0.942, allocations: 7.391 kB / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.942, allocations: 1.438 kB / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/0.942, allocations: 7.938 kB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.942, allocations: 1.875 kB / 1.111 GB, free: 8.871 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 8.834e-05/0.9421, allocations: 103.6 kB / 1.111 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001434/0.9423, allocations: 53.53 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.9423, allocations: 11.86 kB / 1.111 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.9424, allocations: 7.969 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9424, allocations: 0 / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9424, allocations: 4.188 kB / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.9424, allocations: 0 / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.9428, allocations: 455.3 kB / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.9428, allocations: 1.438 kB / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.9429, allocations: 0 / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.9429, allocations: 4 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.9429, allocations: 0 / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.9429, allocations: 0 / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9429, allocations: 4.062 kB / 1.112 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.943, allocations: 91.56 kB / 1.112 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.9431, allocations: 89 kB / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.9431, allocations: 0 / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.187e-05/0.9432, allocations: 0 / 1.112 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.9432, allocations: 8.031 kB / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.9432, allocations: 7.5 kB / 1.112 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.449e-05/0.9433, allocations: 104.2 kB / 1.112 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9433, allocations: 0 / 1.112 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001952/0.9435, allocations: 8 kB / 1.112 GB, free: 7.832 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.0004654/0.944, allocations: 0.6915 MB / 1.113 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.895e-05/0.9441, allocations: 23.94 kB / 1.113 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.9441, allocations: 0 / 1.113 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.155e-05/0.9441, allocations: 4 kB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.9442, allocations: 6.281 kB / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.9446, allocations: 146.8 kB / 1.113 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.9449, allocations: 0.7048 MB / 1.114 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.623e-05/0.945, allocations: 192 / 1.114 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.945, allocations: 27.42 kB / 1.114 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.945, allocations: 0 / 1.114 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.9659, allocations: 0.981 MB / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.9661, allocations: 145.9 kB / 1.115 GB, free: 5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.591, allocations: 2.5 kB / 1.115 GB, free: 5 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1)