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_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.From_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_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.412/1.412, 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.001281/0.00128, allocations: 179.1 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, 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.0009004/0.0009005, allocations: 84.2 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003909, allocations: 9.812 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2934, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/0.4981, allocations: 131.4 MB / 1.028 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.4984, allocations: 67.95 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003062/0.5015, allocations: 1.165 MB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.715e-06/0.5015, allocations: 0 / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.5015, allocations: 0 / 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.0004698/0.502, allocations: 383.1 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.5021, allocations: 11.97 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.281e-05/0.5022, allocations: 42.56 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.5022, allocations: 11.81 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.5024, allocations: 182.9 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.5024, allocations: 4 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.5025, allocations: 8 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.5027, allocations: 91.39 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.5027, allocations: 0 / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.5027, allocations: 4 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5027, allocations: 0 / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.216e-05/0.5028, allocations: 47.91 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006865/0.5035, allocations: 460.5 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.489e-05/0.5036, allocations: 45.33 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.5036, allocations: 0 / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.5036, allocations: 34.56 kB / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.5037, allocations: 0 / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002179/0.5039, allocations: 61.59 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.5039, allocations: 77.11 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.5041, allocations: 153.2 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.5041, allocations: 29.64 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.5042, allocations: 108.3 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.5043, allocations: 19.83 kB / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.5043, allocations: 0 / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5044, allocations: 323.5 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.5044, allocations: 7.984 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.5045, allocations: 17.72 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.947e-05/0.5045, allocations: 8 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.5045, allocations: 7.953 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001154/0.5046, allocations: 65.53 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5047, allocations: 8 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5047, allocations: 0 / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.5047, allocations: 0 / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.5048, allocations: 8 kB / 1.032 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.5048, allocations: 4 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/0.5048, allocations: 3.906 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.5049, allocations: 7.938 kB / 1.032 GB, free: 8.594 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.839e-05/0.505, allocations: 117.9 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.505, allocations: 11.86 kB / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.5051, allocations: 16.55 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.5051, allocations: 0 / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5051, allocations: 0 / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.5051, allocations: 0 / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.5055, allocations: 478.8 kB / 1.032 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5056, allocations: 64 / 1.032 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.5056, allocations: 8 kB / 1.032 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5056, allocations: 0 / 1.032 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.5056, allocations: 0 / 1.032 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.5056, allocations: 4 kB / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.5056, allocations: 7.938 kB / 1.032 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.5058, allocations: 95.56 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.5058, allocations: 89.02 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.5059, allocations: 3.984 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.377e-05/0.5059, allocations: 0 / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.5059, allocations: 4 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.5059, allocations: 0 / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001167/0.506, allocations: 128.9 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.506, allocations: 0 / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002009/0.5063, allocations: 15.84 kB / 1.033 GB, free: 7.516 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.0005191/0.5068, allocations: 0.7009 MB / 1.033 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.5069, allocations: 16 kB / 1.033 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.5069, allocations: 12.09 kB / 1.033 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.36e-05/0.5069, allocations: 4 kB / 1.033 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.5071, allocations: 15.92 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.5081, allocations: 0.7471 MB / 1.034 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.5084, allocations: 0.6965 MB / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.88e-05/0.5085, allocations: 12.42 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.5086, allocations: 23.44 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/0.5086, allocations: 0 / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.5213, allocations: 1.593 MB / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.5215, allocations: 194.3 kB / 1.037 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.012, allocations: 0 / 1.037 GB, free: 3.516 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)