Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.00121/0.001211, allocations: 181.6 kB / 371.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009992/0.0009991, allocations: 92.64 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.172e-05/4.175e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2516, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7521/1.004, allocations: 138.5 MB / 1.115 GB, free: 44.98 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/1.004, allocations: 64.55 kB / 1.115 GB, free: 44.96 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.00248/1.006, allocations: 1.149 MB / 1.116 GB, free: 44.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.552e-06/1.007, allocations: 0 / 1.116 GB, free: 44.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.644e-06/1.007, allocations: 0.625 kB / 1.116 GB, free: 44.24 MB / 0.7448 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.0002921/1.007, allocations: 373.5 kB / 1.117 GB, free: 43.85 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.007, allocations: 14.78 kB / 1.117 GB, free: 43.84 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/1.007, allocations: 38.19 kB / 1.117 GB, free: 43.8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/1.007, allocations: 14.88 kB / 1.117 GB, free: 43.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/1.007, allocations: 185.5 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/1.007, allocations: 4.5 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/1.007, allocations: 7.312 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/1.007, allocations: 95.33 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.007, allocations: 3.25 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/1.007, allocations: 3.438 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.007, allocations: 7.516 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.814e-05/1.007, allocations: 36.81 kB / 1.117 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/1.008, allocations: 457.3 kB / 1.117 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.812e-05/1.008, allocations: 37.03 kB / 1.118 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/1.008, allocations: 21.2 kB / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/1.008, allocations: 4.828 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/1.008, allocations: 34.31 kB / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.344e-06/1.008, allocations: 0 / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001499/1.008, allocations: 55.81 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/1.008, allocations: 81.7 kB / 1.118 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/1.008, allocations: 161.5 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/1.008, allocations: 25.7 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/1.008, allocations: 108 kB / 1.118 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.926e-06/1.008, allocations: 7.891 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/1.009, allocations: 0 / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.354e-05/1.009, allocations: 324.1 kB / 1.118 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/1.009, allocations: 7.594 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/1.009, allocations: 24.55 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.352e-05/1.009, allocations: 11.19 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.009, allocations: 0 / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.208e-05/1.009, allocations: 63.94 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.009, allocations: 7.422 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.009, allocations: 4 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/1.009, allocations: 0.5625 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/1.009, allocations: 4 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.009, allocations: 64 / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.415e-05/1.009, allocations: 17.66 kB / 1.118 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/1.009, allocations: 0 / 1.118 GB, free: 42.04 MB / 0.7448 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 4.457e-05/1.009, allocations: 108.2 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/1.009, allocations: 13.17 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/1.009, allocations: 15.16 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.009, allocations: 0 / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.009, allocations: 0 / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.009, allocations: 4.5 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/1.009, allocations: 481.7 kB / 1.119 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.009, allocations: 0 / 1.119 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/1.009, allocations: 11.62 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.009, allocations: 0 / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/1.009, allocations: 0 / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.009, allocations: 4 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.009, allocations: 0 / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.435e-05/1.01, allocations: 95.61 kB / 1.119 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/1.01, allocations: 92.36 kB / 1.119 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/1.01, allocations: 5.062 kB / 1.119 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.491e-05/1.01, allocations: 4 kB / 1.119 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/1.01, allocations: 0 / 1.119 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/1.01, allocations: 0 / 1.119 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.889e-05/1.01, allocations: 136 kB / 1.119 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.01, allocations: 0 / 1.119 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001601/1.01, allocations: 8 kB / 1.119 GB, free: 41.07 MB / 0.7448 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.0002253/1.01, allocations: 0.6965 MB / 1.12 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.304e-05/1.01, allocations: 22.81 kB / 1.12 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.01, allocations: 0 / 1.12 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.069e-05/1.01, allocations: 4 kB / 1.12 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/1.01, allocations: 7.812 kB / 1.12 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/1.011, allocations: 145.6 kB / 1.12 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/1.011, allocations: 0.7024 MB / 1.121 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.678e-05/1.011, allocations: 11.81 kB / 1.121 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/1.011, allocations: 22.19 kB / 1.121 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.011, allocations: 7.938 kB / 1.121 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/1.023, allocations: 1.542 MB / 1.122 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001217/1.024, allocations: 162.6 kB / 1.123 GB, free: 38.37 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.644, allocations: 0 / 1.123 GB, free: 38.37 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)