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_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.456/1.456, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001446/0.001446, allocations: 187.9 kB / 326.5 MB, free: 2.262 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.777/1.777, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0008335/0.0008336, allocations: 97.91 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003755, allocations: 13.34 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2555, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/0.4427, allocations: 131.4 MB / 1.028 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.4431, allocations: 71.94 kB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002821/0.4459, allocations: 1.157 MB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4459, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.4459, allocations: 4 kB / 1.03 GB, free: 11.02 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.0003863/0.4463, allocations: 391.1 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.4464, allocations: 11.97 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.4464, allocations: 38.56 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.4465, allocations: 11.81 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.4466, allocations: 178.9 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.4467, allocations: 8 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.4467, allocations: 4 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.4469, allocations: 95.39 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4469, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4469, allocations: 4 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.447, allocations: 4 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.957e-05/0.4471, allocations: 43.86 kB / 1.03 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/0.4477, allocations: 464.4 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.4478, allocations: 37.28 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.4478, allocations: 0 / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.4478, allocations: 38.69 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4479, allocations: 4 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002001/0.4481, allocations: 57.53 kB / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.4481, allocations: 77.11 kB / 1.031 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.4483, allocations: 157.2 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.4483, allocations: 25.7 kB / 1.031 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.4484, allocations: 108 kB / 1.031 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.229e-05/0.4484, allocations: 11.83 kB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.4484, allocations: 4.25 kB / 1.031 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4485, allocations: 323.5 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.4486, allocations: 8 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.817e-05/0.4486, allocations: 25.7 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.4486, allocations: 8 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4486, allocations: 3.953 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.943e-05/0.4487, allocations: 61.55 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4488, allocations: 10.41 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4488, allocations: 3.984 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4488, allocations: 4 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.4489, allocations: 4 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4489, allocations: 0 / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.548e-05/0.4489, allocations: 7.906 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.4489, allocations: 3.938 kB / 1.032 GB, free: 8.566 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.249e-05/0.449, allocations: 113.8 kB / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.4491, allocations: 11.86 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.181e-05/0.4492, allocations: 20.55 kB / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4492, allocations: 0 / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4492, allocations: 0 / 1.032 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4492, allocations: 4 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.4496, allocations: 478.8 kB / 1.032 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.4496, allocations: 4 kB / 1.032 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.4496, allocations: 4 kB / 1.032 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4496, allocations: 8.062 kB / 1.032 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.4497, allocations: 0 / 1.032 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4497, allocations: 0 / 1.032 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4497, allocations: 3.938 kB / 1.032 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.4498, allocations: 95.56 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.4498, allocations: 81.02 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.4499, allocations: 8.031 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.396e-05/0.4499, allocations: 3.938 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.4499, allocations: 3.984 kB / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.4499, allocations: 0 / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.715e-05/0.45, allocations: 128.9 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.45, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00018/0.4502, allocations: 15.84 kB / 1.033 GB, free: 7.484 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.0003727/0.4506, allocations: 0.7047 MB / 1.033 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.505e-05/0.4507, allocations: 16 kB / 1.033 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4507, allocations: 0 / 1.033 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-05/0.4507, allocations: 16.09 kB / 1.033 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.4508, allocations: 4 kB / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/0.4518, allocations: 0.7533 MB / 1.034 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.4521, allocations: 0.7004 MB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.4522, allocations: 4.438 kB / 1.035 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.4522, allocations: 27.42 kB / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.4522, allocations: 0 / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.465, allocations: 1.59 MB / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002894/0.4653, allocations: 200.3 kB / 1.037 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.203, allocations: 1.875 kB / 1.037 GB, free: 3.496 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)