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.615/1.615, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 180.9 kB / 326.5 MB, free: 2.25 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.856/1.856, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009551/0.0009552, allocations: 89.98 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004064, allocations: 12.75 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3049, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.4985, allocations: 131.4 MB / 1.028 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.4988, allocations: 75.95 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002731/0.5016, allocations: 1.15 MB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.916e-06/0.5016, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.5016, allocations: 4.219 kB / 1.03 GB, free: 11 MB / 0.6823 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.0004599/0.5021, allocations: 386.9 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.5021, allocations: 8.031 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.5022, allocations: 38.56 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.5022, allocations: 11.81 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.5024, allocations: 186.9 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.5025, allocations: 4 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.5025, allocations: 12 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.5027, allocations: 90.05 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.5027, allocations: 0 / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.5028, allocations: 4 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5028, allocations: 4 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.343e-05/0.5029, allocations: 43.91 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006438/0.5035, allocations: 452.5 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.08e-05/0.5036, allocations: 41.28 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.5036, allocations: 16.05 kB / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.5036, allocations: 30.56 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.5037, allocations: 0 / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001927/0.5039, allocations: 61.53 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.5039, allocations: 77.11 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.5041, allocations: 157.5 kB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.5041, allocations: 33.64 kB / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.5042, allocations: 104 kB / 1.031 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.5042, allocations: 11.84 kB / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-06/0.5042, allocations: 0 / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5044, allocations: 319.5 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.5044, allocations: 8 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.871e-05/0.5045, allocations: 25.7 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.5045, allocations: 12 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5045, allocations: 3.953 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001023/0.5046, allocations: 65.53 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.5046, allocations: 4 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5047, allocations: 4 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.5047, allocations: 4 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.5048, allocations: 4 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.5048, allocations: 3.984 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.5048, allocations: 11.84 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.5048, allocations: 4.062 kB / 1.032 GB, free: 8.547 MB / 0.6823 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 () * Number of clocked 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 9.141e-05/0.5049, allocations: 113.8 kB / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.505, allocations: 11.86 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.505, allocations: 16.55 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.505, allocations: 0 / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.505, allocations: 4 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5051, allocations: 0 / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.5055, allocations: 486.8 kB / 1.032 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5055, allocations: 0 / 1.032 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.5056, allocations: 4 kB / 1.032 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5056, allocations: 0 / 1.032 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.5056, allocations: 4 kB / 1.032 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.5056, allocations: 0 / 1.032 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5056, allocations: 3.938 kB / 1.032 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.5058, allocations: 95.62 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.5058, allocations: 89.02 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.5059, allocations: 3.984 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.313e-05/0.5059, allocations: 0 / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.5059, allocations: 0 / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.5059, allocations: 4 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001042/0.506, allocations: 128.8 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.506, allocations: 4.031 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000182/0.5062, allocations: 15.84 kB / 1.033 GB, free: 7.465 MB / 0.6823 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 () * Number of clocked 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.0005245/0.5068, allocations: 0.7021 MB / 1.033 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.5069, allocations: 20 kB / 1.033 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5069, allocations: 3.938 kB / 1.033 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.5069, allocations: 8 kB / 1.033 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.507, allocations: 4 kB / 1.033 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.5081, allocations: 0.7534 MB / 1.034 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.5084, allocations: 0.7004 MB / 1.035 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.656e-05/0.5085, allocations: 4.438 kB / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.5085, allocations: 27.42 kB / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/0.5085, allocations: 0 / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.5215, allocations: 1.593 MB / 1.037 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.5218, allocations: 190.2 kB / 1.037 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.153, allocations: 4.062 kB / 1.037 GB, free: 3.473 MB / 0.6823 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)