Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.654/2.654, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001665/0.001665, allocations: 186.2 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 86.17 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004824, allocations: 17.8 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2467, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0011/0.2478, allocations: 0.5289 MB / 0.9788 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001328/0.248, allocations: 55.7 kB / 0.9789 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.2481, allocations: 0 / 0.9789 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.2481, allocations: 3.938 kB / 0.9789 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.2482, allocations: 11.97 kB / 0.9789 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.929e-05/0.2483, allocations: 8 kB / 0.9789 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.144e-05/0.2484, allocations: 47.89 kB / 0.9789 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.2485, allocations: 25.58 kB / 0.979 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.772e-05/0.2486, allocations: 27.84 kB / 0.979 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.2487, allocations: 23.8 kB / 0.979 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.2488, allocations: 4 kB / 0.979 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.2488, allocations: 3.938 kB / 0.979 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.2488, allocations: 7.938 kB / 0.979 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.2488, allocations: 45.64 kB / 0.9791 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.405e-05/0.2489, allocations: 60.08 kB / 0.9791 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.249, allocations: 0 / 0.9791 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.694e-06/0.249, allocations: 0 / 0.9791 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.249, allocations: 0 / 0.9791 GB, free: 27.46 MB / 0.6198 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.000412/0.2494, allocations: 375 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.2495, allocations: 16.02 kB / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.2495, allocations: 34.56 kB / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.2496, allocations: 11.91 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.2498, allocations: 198.8 kB / 0.9797 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.2498, allocations: 8 kB / 0.9797 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.2498, allocations: 4 kB / 0.9797 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.25, allocations: 99.33 kB / 0.9798 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.25, allocations: 0 / 0.9798 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.2501, allocations: 0 / 0.9798 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.2501, allocations: 4 kB / 0.9798 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.2502, allocations: 39.97 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.2508, allocations: 452.5 kB / 0.9803 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.526e-05/0.2509, allocations: 41.2 kB / 0.9803 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.2509, allocations: 4 kB / 0.9803 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.2509, allocations: 34.59 kB / 0.9804 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.074e-06/0.251, allocations: 0 / 0.9804 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002118/0.2512, allocations: 53.67 kB / 0.9804 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.2512, allocations: 81.05 kB / 0.9805 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.2514, allocations: 169 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.2514, allocations: 25.95 kB / 0.9807 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.2515, allocations: 119.9 kB / 0.9808 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.2515, allocations: 0 / 0.9808 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-06/0.2515, allocations: 0 / 0.9808 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.2516, allocations: 326.8 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.812e-05/0.2517, allocations: 8 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.795e-05/0.2517, allocations: 21.66 kB / 0.9811 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.811e-05/0.2517, allocations: 12 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2518, allocations: 0 / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001281/0.2519, allocations: 69.39 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2519, allocations: 4 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2519, allocations: 96 / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.252, allocations: 7.984 kB / 0.9812 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.2521, allocations: 11.94 kB / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.2521, allocations: 0 / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.393e-05/0.2522, allocations: 4 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.2522, allocations: 0 / 0.9813 GB, free: 25.02 MB / 0.6198 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 7.829e-05/0.2523, allocations: 121.9 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.2523, allocations: 11.86 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.2524, allocations: 12.56 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2524, allocations: 0 / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2524, allocations: 4 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2524, allocations: 0 / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.2529, allocations: 486.6 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2529, allocations: 4 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.253, allocations: 3.938 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.253, allocations: 4 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.253, allocations: 0 / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.253, allocations: 0 / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.253, allocations: 0 / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.2531, allocations: 99.62 kB / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.2532, allocations: 81.02 kB / 0.982 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.2532, allocations: 11.98 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.2533, allocations: 0 / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.2533, allocations: 0 / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.2533, allocations: 4 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001024/0.2534, allocations: 124.2 kB / 0.9822 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.563e-06/0.2534, allocations: 0 / 0.9822 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002486/0.2537, allocations: 19.97 kB / 0.9822 GB, free: 23.93 MB / 0.6198 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.0003004/0.254, allocations: 0.6953 MB / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.2541, allocations: 19.97 kB / 0.9829 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.2541, allocations: 4 kB / 0.9829 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.145e-05/0.2542, allocations: 7.938 kB / 0.9829 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.2543, allocations: 10.17 kB / 0.9829 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009872/0.2553, allocations: 0.7305 MB / 0.9836 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.2555, allocations: 0.7043 MB / 0.9843 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.84e-05/0.2555, allocations: 4.438 kB / 0.9843 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.2556, allocations: 23.42 kB / 0.9843 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.2556, allocations: 0 / 0.9843 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.2786, allocations: 1.58 MB / 0.9859 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/0.279, allocations: 191.7 kB / 0.9861 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.25/2.529, allocations: 0 / 0.9861 GB, free: 19.94 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)