Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.609/2.609, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.002152/0.002152, allocations: 188.7 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001085/0.001084, allocations: 93.8 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.886e-05/2.876e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8187/0.8187, allocations: 115.3 MB / 0.9634 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2474/1.066, allocations: 136.7 MB / 1.097 GB, free: 3.754 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/1.067, allocations: 67.97 kB / 1.097 GB, free: 3.688 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005322/1.072, allocations: 1.146 MB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/1.072, allocations: 0 / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.38e-05/1.072, allocations: 4.5 kB / 1.098 GB, free: 2.559 MB / 0.698 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.0004326/1.073, allocations: 361.6 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/1.073, allocations: 8.031 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/1.073, allocations: 15.81 kB / 1.098 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/1.073, allocations: 180 kB / 1.099 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/1.073, allocations: 7.438 kB / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/1.073, allocations: 9.703 kB / 1.099 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001385/1.073, allocations: 36 kB / 1.099 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/1.073, allocations: 80.56 kB / 1.099 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/1.073, allocations: 4.5 kB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/1.073, allocations: 0 / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/1.073, allocations: 4.5 kB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/1.074, allocations: 419.8 kB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.45e-05/1.074, allocations: 33.91 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/1.074, allocations: 22.53 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/1.074, allocations: 0.6875 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/1.074, allocations: 35.81 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/1.074, allocations: 0 / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001857/1.074, allocations: 46.25 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/1.075, allocations: 86.27 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/1.075, allocations: 132.1 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/1.075, allocations: 26.2 kB / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/1.075, allocations: 108.8 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/1.075, allocations: 8.781 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/1.075, allocations: 0 / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.075, allocations: 319.3 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/1.075, allocations: 4.938 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/1.075, allocations: 17.72 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/1.075, allocations: 13.31 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.075, allocations: 0 / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001283/1.075, allocations: 62.36 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.075, allocations: 5.844 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.075, allocations: 0 / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.075, allocations: 7.938 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/1.075, allocations: 4 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/1.075, allocations: 0 / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/1.076, allocations: 12.59 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/1.076, allocations: 4 kB / 1.1 GB, free: 340 kB / 0.698 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.316e-05/1.076, allocations: 107.9 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001189/1.076, allocations: 53.48 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/1.076, allocations: 11.91 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/1.076, allocations: 7.969 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.076, allocations: 0 / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.076, allocations: 0 / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.076, allocations: 2.656 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/1.076, allocations: 451.3 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.076, allocations: 4 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/1.076, allocations: 0 / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/1.076, allocations: 8.25 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/1.076, allocations: 3.984 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.077, allocations: 0 / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.077, allocations: 2.016 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/1.077, allocations: 87.58 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/1.077, allocations: 89 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/1.077, allocations: 7.969 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/1.077, allocations: 0 / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/1.077, allocations: 4 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/1.077, allocations: 0 / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.335e-05/1.077, allocations: 105.3 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.077, allocations: 3.656 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002628/1.077, allocations: 8 kB / 1.101 GB, free: 15.3 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.0004554/1.078, allocations: 0.6915 MB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001029/1.078, allocations: 19.94 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.078, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/1.078, allocations: 8.219 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/1.078, allocations: 10.08 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/1.079, allocations: 149 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/1.079, allocations: 0.6963 MB / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.821e-05/1.079, allocations: 4.188 kB / 1.102 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/1.079, allocations: 31.42 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of SimCode: time 7.52e-07/1.079, allocations: 0 / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0468/1.126, allocations: 0.9789 MB / 1.103 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002958/1.126, allocations: 155.5 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/3.3, allocations: 1.547 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1)