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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 198.6 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.715/1.715, allocations: 292.3 MB / 0.549 GB, free: 12.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 73.92 kB / 0.6718 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.246, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002714/0.2487, allocations: 0.8565 MB / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001649/0.2489, allocations: 43.72 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.249, allocations: 0 / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.897e-05/0.2491, allocations: 11.88 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.2492, allocations: 11.86 kB / 0.7845 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.724e-05/0.2493, allocations: 19.98 kB / 0.7846 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.2494, allocations: 63.84 kB / 0.7846 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.2496, allocations: 45.31 kB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/0.2497, allocations: 27.86 kB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.514e-05/0.2498, allocations: 35.78 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.2498, allocations: 4 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.2498, allocations: 8 kB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.2499, allocations: 23.92 kB / 0.7848 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.2499, allocations: 31.75 kB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.2501, allocations: 91.83 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2501, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.747e-06/0.2501, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.2501, allocations: 4 kB / 0.7849 GB, free: 11.95 MB / 0.6075 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.0005693/0.2507, allocations: 383.2 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.2508, allocations: 15.97 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.681e-05/0.2508, allocations: 38.73 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.2509, allocations: 20.75 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.2512, allocations: 188.2 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.2512, allocations: 8.375 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.2512, allocations: 8.375 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.2514, allocations: 91.94 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2514, allocations: 3.938 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2514, allocations: 4 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.2514, allocations: 4 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.83e-05/0.2515, allocations: 43.92 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006449/0.2522, allocations: 440.6 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.004e-05/0.2523, allocations: 41.19 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.2523, allocations: 21.84 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.2523, allocations: 0 / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.2524, allocations: 34.56 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2524, allocations: 0 / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001882/0.2526, allocations: 61.47 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.2526, allocations: 85.05 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.2528, allocations: 173.6 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.2528, allocations: 25.7 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.2529, allocations: 108 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.2529, allocations: 7.906 kB / 0.7866 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.2529, allocations: 17.7 kB / 0.7866 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2531, allocations: 318.8 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.2531, allocations: 7.984 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.801e-05/0.2531, allocations: 21.66 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/0.2532, allocations: 37.72 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2532, allocations: 0 / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/0.2533, allocations: 65.53 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2533, allocations: 7.938 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2533, allocations: 0 / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2534, allocations: 0 / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.2534, allocations: 8 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2534, allocations: 4.062 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.2535, allocations: 3.906 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.2535, allocations: 4 kB / 0.7871 GB, free: 9.422 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.905e-05/0.2536, allocations: 117.8 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.2537, allocations: 15.83 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.2537, allocations: 12.66 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.2537, allocations: 7.922 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2537, allocations: 0 / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.2537, allocations: 0 / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.2542, allocations: 482.8 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2542, allocations: 0 / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.2543, allocations: 4 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2543, allocations: 3.938 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2543, allocations: 0 / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.2543, allocations: 4 kB / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2543, allocations: 0 / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.2545, allocations: 85.89 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.2545, allocations: 88.92 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.2546, allocations: 7.984 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.716e-05/0.2546, allocations: 7.938 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.2546, allocations: 0 / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.2546, allocations: 0 / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001234/0.2548, allocations: 130.1 kB / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2548, allocations: 0 / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002197/0.255, allocations: 12 kB / 0.788 GB, free: 8.352 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004988/0.2555, allocations: 0.617 MB / 0.7886 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001274/0.2557, allocations: 23.97 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2557, allocations: 0 / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/0.2557, allocations: 4 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.2559, allocations: 14.48 kB / 0.7887 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.2572, allocations: 1.378 MB / 0.79 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.2575, allocations: 0.6963 MB / 0.7907 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.998e-05/0.2576, allocations: 8.422 kB / 0.7907 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.2577, allocations: 27.42 kB / 0.7907 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.2577, allocations: 0 / 0.7907 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.275, allocations: 1.672 MB / 0.7924 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.713, allocations: 0 / 0.7924 GB, free: 3.855 MB / 0.6075 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/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)