Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_cfm,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.462/1.462, allocations: 249.5 MB / 257 MB, free: 6.953 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.00101/0.00101, allocations: 180.9 kB / 316.3 MB, free: 3.258 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.488/1.488, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008414/0.0008414, allocations: 107.5 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.521e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2078, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7289/0.9367, allocations: 131.6 MB / 1.014 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.937, allocations: 60.66 kB / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00265/0.9396, allocations: 1.148 MB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9397, allocations: 0 / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.9397, allocations: 0 / 1.015 GB, free: 4.734 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.0003735/0.9401, allocations: 372.8 kB / 1.015 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.9401, allocations: 8.031 kB / 1.015 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.9402, allocations: 7.906 kB / 1.015 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.9404, allocations: 186.2 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.9404, allocations: 6.75 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.9404, allocations: 4 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001089/0.9405, allocations: 37.92 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.9407, allocations: 80.84 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.9407, allocations: 3.984 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.9407, allocations: 0 / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.9407, allocations: 0 / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000592/0.9413, allocations: 425.6 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.461e-05/0.9414, allocations: 33.25 kB / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.9414, allocations: 24.47 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.9415, allocations: 0 / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.9415, allocations: 36.42 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9415, allocations: 0 / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000166/0.9417, allocations: 49.22 kB / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.9417, allocations: 81.05 kB / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.9419, allocations: 125.2 kB / 1.016 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.9419, allocations: 29.7 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.9419, allocations: 110.5 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.354e-06/0.942, allocations: 7.094 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.942, allocations: 0 / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.9421, allocations: 321.5 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.9421, allocations: 7.25 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.33e-05/0.9422, allocations: 16.84 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.9422, allocations: 11.25 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.9422, allocations: 0 / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.76e-05/0.9423, allocations: 68.17 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.9423, allocations: 4 kB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.9423, allocations: 0 / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.9423, allocations: 0 / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.9424, allocations: 8 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.9424, allocations: 0 / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.9425, allocations: 3.938 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.9425, allocations: 12 kB / 1.017 GB, free: 2.578 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.843e-05/0.9426, allocations: 104.4 kB / 1.017 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.916e-05/0.9427, allocations: 53.48 kB / 1.017 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.9427, allocations: 7.25 kB / 1.017 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.9427, allocations: 11.75 kB / 1.017 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.9427, allocations: 4 kB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9427, allocations: 0 / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.9428, allocations: 0 / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.9431, allocations: 459.1 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.9431, allocations: 0.875 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.9432, allocations: 4 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.9432, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.9432, allocations: 0 / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.9432, allocations: 8.766 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9432, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.9433, allocations: 89.67 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.9434, allocations: 95.75 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.9434, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.9434, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.9434, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.9434, allocations: 4 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.975e-05/0.9435, allocations: 105.5 kB / 1.018 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9435, allocations: 0 / 1.018 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001918/0.9437, allocations: 11.91 kB / 1.018 GB, free: 1.578 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.0003863/0.9441, allocations: 0.694 MB / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.423e-05/0.9442, allocations: 22.62 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9442, allocations: 0 / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.151e-05/0.9442, allocations: 4 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.9444, allocations: 7.141 kB / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.9447, allocations: 141.5 kB / 1.019 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.945, allocations: 0.7004 MB / 1.019 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.945, allocations: 4.188 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.9451, allocations: 25.8 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.9451, allocations: 7.938 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.9623, allocations: 0.9761 MB / 1.02 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.9625, allocations: 156.8 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.364/2.327, allocations: 7.125 kB / 1.021 GB, free: 14.74 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1)