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_gal.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_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",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.411/1.411, allocations: 251.9 MB / 266.8 MB, free: 11.03 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.001091/0.001091, allocations: 182.7 kB / 326.5 MB, free: 2.266 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.759/1.759, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.000896/0.000896, allocations: 90.38 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003509, allocations: 11.69 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2485, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1806/0.4292, allocations: 131.4 MB / 1.028 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.4295, allocations: 75.95 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002821/0.4324, allocations: 1.157 MB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4324, allocations: 0 / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.4324, allocations: 4.219 kB / 1.03 GB, free: 11.04 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.0004893/0.4329, allocations: 389.3 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.433, allocations: 8.031 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.433, allocations: 38.56 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.4331, allocations: 15.75 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.4333, allocations: 186.9 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.4333, allocations: 8 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.4333, allocations: 8 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.4335, allocations: 90.2 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.4335, allocations: 0 / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.4335, allocations: 4 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.4335, allocations: 4 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.143e-05/0.4336, allocations: 39.92 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/0.4342, allocations: 456.7 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.074e-05/0.4343, allocations: 45.08 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.4343, allocations: 4.125 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.4344, allocations: 34.56 kB / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.4344, allocations: 0 / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001949/0.4346, allocations: 53.55 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.4347, allocations: 77.11 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.4348, allocations: 169.4 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.4349, allocations: 25.7 kB / 1.031 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.435, allocations: 104 kB / 1.031 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.435, allocations: 11.84 kB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.435, allocations: 0 / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4351, allocations: 319.5 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.4352, allocations: 8 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.4352, allocations: 25.7 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.688e-05/0.4352, allocations: 12 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.4353, allocations: 3.953 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.83e-05/0.4354, allocations: 61.55 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4354, allocations: 4 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4354, allocations: 4 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4354, allocations: 0 / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.246e-05/0.4355, allocations: 7.984 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.4355, allocations: 0 / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.036e-05/0.4356, allocations: 15.91 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.4356, allocations: 0 / 1.032 GB, free: 8.598 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 8.855e-05/0.4357, allocations: 113.8 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.4357, allocations: 11.86 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.4358, allocations: 16.55 kB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4358, allocations: 4 kB / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4358, allocations: 0 / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4358, allocations: 96 / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.4362, allocations: 486.7 kB / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4362, allocations: 3.984 kB / 1.032 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.4362, allocations: 7.984 kB / 1.032 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4362, allocations: 0 / 1.032 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.4363, allocations: 0 / 1.032 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4363, allocations: 3.938 kB / 1.032 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4363, allocations: 4 kB / 1.032 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.4364, allocations: 95.64 kB / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.4365, allocations: 89 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.4365, allocations: 0 / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.305e-05/0.4365, allocations: 0 / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.4365, allocations: 0 / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.4365, allocations: 4 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001053/0.4367, allocations: 132.9 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4367, allocations: 0 / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001803/0.4369, allocations: 19.84 kB / 1.033 GB, free: 7.508 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.0004575/0.4373, allocations: 0.7009 MB / 1.033 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.373e-05/0.4374, allocations: 19.94 kB / 1.033 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4374, allocations: 0 / 1.033 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.4374, allocations: 8 kB / 1.033 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.4376, allocations: 4 kB / 1.033 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009444/0.4385, allocations: 0.7534 MB / 1.034 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.4388, allocations: 0.7043 MB / 1.035 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.237e-05/0.4388, allocations: 4.438 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.4389, allocations: 23.42 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.4389, allocations: 0 / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/0.4519, allocations: 1.582 MB / 1.036 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/0.4522, allocations: 192.5 kB / 1.037 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.182, allocations: 0 / 1.037 GB, free: 3.516 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)