Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_gal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.00146/0.001459, allocations: 189 kB / 377.1 MB, free: 1.527 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.721/1.721, allocations: 205.4 MB / 0.6366 GB, free: 8.551 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.0009039/0.0009038, allocations: 87.56 kB / 0.7509 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2811, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6561/0.9373, allocations: 138.5 MB / 1.124 GB, free: 35.8 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.9375, allocations: 63.75 kB / 1.124 GB, free: 35.75 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002465/0.94, allocations: 1.156 MB / 1.125 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.813e-06/0.94, allocations: 0 / 1.125 GB, free: 34.89 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.9401, allocations: 4 kB / 1.125 GB, free: 34.89 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.0003045/0.9404, allocations: 387.7 kB / 1.125 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.9404, allocations: 12.02 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.9405, allocations: 41.25 kB / 1.125 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.9405, allocations: 11.61 kB / 1.125 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.9406, allocations: 186.3 kB / 1.126 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.9406, allocations: 7.438 kB / 1.126 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.9407, allocations: 12 kB / 1.126 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.9408, allocations: 91.91 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.9408, allocations: 0.6875 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.9408, allocations: 4 kB / 1.126 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.9408, allocations: 4 kB / 1.126 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.157e-05/0.9409, allocations: 39.45 kB / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.9414, allocations: 462.3 kB / 1.126 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.673e-05/0.9414, allocations: 37.94 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.587e-06/0.9415, allocations: 8.125 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.9415, allocations: 34.56 kB / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9415, allocations: 0 / 1.126 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001607/0.9416, allocations: 57.06 kB / 1.126 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.9417, allocations: 77.88 kB / 1.126 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.9418, allocations: 156.2 kB / 1.126 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.9418, allocations: 25.7 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.9419, allocations: 107.9 kB / 1.127 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.884e-06/0.9419, allocations: 11.84 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.9419, allocations: 0 / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.9419, allocations: 322.7 kB / 1.127 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.942, allocations: 11.94 kB / 1.127 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.095e-05/0.942, allocations: 27.11 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.221e-05/0.942, allocations: 8 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.942, allocations: 4 kB / 1.127 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.299e-05/0.9421, allocations: 61.56 kB / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.9421, allocations: 7.938 kB / 1.127 GB, free: 32.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.9421, allocations: 8.078 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.9422, allocations: 0 / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.9422, allocations: 4.562 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.9422, allocations: 0 / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.9423, allocations: 8.656 kB / 1.127 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.9423, allocations: 0 / 1.127 GB, free: 32.56 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 5.297e-05/0.9423, allocations: 117.9 kB / 1.127 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.9424, allocations: 11.86 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.9424, allocations: 16.64 kB / 1.127 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.9424, allocations: 2.078 kB / 1.127 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.9424, allocations: 4 kB / 1.127 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.9425, allocations: 0 / 1.127 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.9428, allocations: 487.9 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.9428, allocations: 0 / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.9428, allocations: 4.562 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.9428, allocations: 0 / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.9428, allocations: 1.578 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.9428, allocations: 0 / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.9428, allocations: 0 / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.851e-05/0.9429, allocations: 106.7 kB / 1.128 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.943, allocations: 89.14 kB / 1.128 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.943, allocations: 0.5625 kB / 1.128 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.488e-05/0.943, allocations: 0 / 1.128 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.9431, allocations: 4 kB / 1.128 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.9431, allocations: 4 kB / 1.128 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.838e-05/0.9431, allocations: 123.1 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9431, allocations: 0 / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000176/0.9433, allocations: 15.97 kB / 1.128 GB, free: 31.52 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.0002536/0.9436, allocations: 0.7028 MB / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.12e-05/0.9437, allocations: 20.03 kB / 1.129 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9437, allocations: 0 / 1.129 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.36e-05/0.9437, allocations: 15.94 kB / 1.129 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001048/0.9438, allocations: 0 / 1.129 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007024/0.9445, allocations: 0.7503 MB / 1.129 GB, free: 30 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.9447, allocations: 0.702 MB / 1.13 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.9447, allocations: 9.125 kB / 1.13 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.9447, allocations: 19.44 kB / 1.13 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of SimCode: time 3.4e-07/0.9448, allocations: 0 / 1.13 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01293/0.9577, allocations: 1.587 MB / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001354/0.9579, allocations: 183.6 kB / 1.132 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.563, allocations: 0 / 1.132 GB, free: 28.16 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)