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.727/1.727, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001305/0.001305, allocations: 198.3 kB / 377.1 MB, free: 1.531 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.628/1.628, allocations: 205.4 MB / 0.6366 GB, free: 8.555 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.0008667/0.0008667, allocations: 93.66 kB / 0.7509 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.269, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7707/1.04, allocations: 138.5 MB / 1.124 GB, free: 35.93 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/1.04, allocations: 65.94 kB / 1.124 GB, free: 35.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002429/1.043, allocations: 1.157 MB / 1.125 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.344e-06/1.043, allocations: 0 / 1.125 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.856e-06/1.043, allocations: 4 kB / 1.125 GB, free: 35.02 MB / 0.7292 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.0003184/1.043, allocations: 384.2 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/1.043, allocations: 12.02 kB / 1.125 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/1.043, allocations: 46.58 kB / 1.125 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/1.043, allocations: 12.16 kB / 1.125 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/1.043, allocations: 187.2 kB / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/1.043, allocations: 8.625 kB / 1.126 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/1.043, allocations: 12 kB / 1.126 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/1.043, allocations: 92.48 kB / 1.126 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.043, allocations: 0 / 1.126 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/1.043, allocations: 0 / 1.126 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.043, allocations: 4 kB / 1.126 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.666e-05/1.043, allocations: 43.64 kB / 1.126 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/1.044, allocations: 455.6 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.706e-05/1.044, allocations: 41.8 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/1.044, allocations: 4 kB / 1.126 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/1.044, allocations: 34.69 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.044, allocations: 0 / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001679/1.044, allocations: 60.88 kB / 1.126 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/1.044, allocations: 77.11 kB / 1.126 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/1.044, allocations: 151.6 kB / 1.126 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/1.044, allocations: 29.95 kB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/1.044, allocations: 103.4 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.177e-06/1.044, allocations: 19.34 kB / 1.127 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/1.045, allocations: 0 / 1.127 GB, free: 33.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.558e-05/1.045, allocations: 321.6 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/1.045, allocations: 7.938 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.262e-05/1.045, allocations: 26.31 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/1.045, allocations: 12 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.045, allocations: 0 / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.592e-05/1.045, allocations: 65.5 kB / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.045, allocations: 4 kB / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.045, allocations: 5.188 kB / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/1.045, allocations: 4 kB / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/1.045, allocations: 8 kB / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/1.045, allocations: 0 / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/1.045, allocations: 7.906 kB / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/1.045, allocations: 4.625 kB / 1.127 GB, free: 32.69 MB / 0.7292 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 6.005e-05/1.045, allocations: 113.8 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/1.045, allocations: 12.61 kB / 1.127 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/1.045, allocations: 16.08 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.045, allocations: 0 / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.045, allocations: 0 / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.045, allocations: 4 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/1.045, allocations: 479.9 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.045, allocations: 4.562 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/1.045, allocations: 0 / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.045, allocations: 4.562 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/1.045, allocations: 0.5 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.045, allocations: 0 / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.045, allocations: 0 / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/1.046, allocations: 107 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/1.046, allocations: 88.58 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/1.046, allocations: 5.703 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.732e-05/1.046, allocations: 0 / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/1.046, allocations: 0.5469 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/1.046, allocations: 4 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.988e-05/1.046, allocations: 124 kB / 1.128 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.046, allocations: 4.031 kB / 1.128 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001761/1.046, allocations: 12.88 kB / 1.128 GB, free: 31.66 MB / 0.7292 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.000255/1.046, allocations: 0.6986 MB / 1.129 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.315e-05/1.046, allocations: 20.03 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.046, allocations: 7.938 kB / 1.129 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/1.046, allocations: 7.938 kB / 1.129 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/1.046, allocations: 8 kB / 1.129 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00075/1.047, allocations: 0.7505 MB / 1.129 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/1.047, allocations: 0.7029 MB / 1.13 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.768e-05/1.047, allocations: 4.438 kB / 1.13 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/1.047, allocations: 26.91 kB / 1.13 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.047, allocations: 0 / 1.13 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/1.061, allocations: 1.579 MB / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/1.061, allocations: 180.9 kB / 1.132 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.771, allocations: 0 / 1.132 GB, free: 28.29 MB / 0.7292 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)