Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 182.7 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 0.5776 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008063/0.0008062, allocations: 75.92 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004542, allocations: 12.66 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3003, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0009215/0.3013, allocations: 0.5538 MB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001058/0.3014, allocations: 47.73 kB / 0.9009 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.3015, allocations: 4 kB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.3015, allocations: 7.922 kB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.886e-05/0.3016, allocations: 7.922 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.823e-05/0.3016, allocations: 15.98 kB / 0.9009 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.17e-05/0.3017, allocations: 59.84 kB / 0.901 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3019, allocations: 29.58 kB / 0.901 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.347e-05/0.3019, allocations: 19.86 kB / 0.901 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.157e-05/0.302, allocations: 27.8 kB / 0.9011 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.302, allocations: 3.938 kB / 0.9011 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.302, allocations: 4 kB / 0.9011 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.3021, allocations: 3.938 kB / 0.9011 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.3021, allocations: 37.64 kB / 0.9011 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.928e-05/0.3022, allocations: 63.86 kB / 0.9012 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3022, allocations: 0 / 0.9012 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3022, allocations: 0 / 0.9012 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.3022, allocations: 0 / 0.9012 GB, free: 62.92 MB / 0.6042 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.000334/0.3025, allocations: 375.4 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3026, allocations: 8.031 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.95e-05/0.3026, allocations: 46.5 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.3027, allocations: 11.81 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3028, allocations: 199.9 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3028, allocations: 12 kB / 0.9018 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.3028, allocations: 4 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.303, allocations: 91.3 kB / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.303, allocations: 0 / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.303, allocations: 4 kB / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.303, allocations: 0 / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.76e-05/0.3031, allocations: 43.91 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.3035, allocations: 444.6 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.884e-05/0.3036, allocations: 53.33 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.3036, allocations: 13.72 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.3036, allocations: 8.062 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.083e-05/0.3037, allocations: 30.56 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3037, allocations: 0 / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001496/0.3038, allocations: 57.45 kB / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.3038, allocations: 77.11 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.304, allocations: 174.2 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.304, allocations: 29.95 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.304, allocations: 108 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.304, allocations: 3.906 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.304, allocations: 4 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.178e-05/0.3041, allocations: 318.8 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.3041, allocations: 8 kB / 0.9032 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.3041, allocations: 17.7 kB / 0.9032 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.271e-05/0.3042, allocations: 16 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3042, allocations: 3.953 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.907e-05/0.3042, allocations: 65.53 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3043, allocations: 6.031 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3043, allocations: 3.938 kB / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3043, allocations: 0 / 0.9033 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.3044, allocations: 8 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3044, allocations: 0 / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.3044, allocations: 7.844 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.3044, allocations: 12 kB / 0.9033 GB, free: 60.45 MB / 0.6042 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.264e-05/0.3045, allocations: 117.8 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.3045, allocations: 11.86 kB / 0.9035 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.3045, allocations: 12.56 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.3045, allocations: 0 / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3046, allocations: 0 / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3046, allocations: 0 / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.3048, allocations: 486.8 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3049, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.3049, allocations: 4 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3049, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3049, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3049, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3049, allocations: 7.938 kB / 0.9039 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.417e-05/0.305, allocations: 81.91 kB / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.305, allocations: 96.91 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.305, allocations: 0 / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.415e-05/0.3051, allocations: 4 kB / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.3051, allocations: 4 kB / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.3051, allocations: 0 / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.5e-05/0.3052, allocations: 124.9 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3052, allocations: 4 kB / 0.9042 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001703/0.3054, allocations: 4 kB / 0.9042 GB, free: 59.4 MB / 0.6042 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.0002488/0.3056, allocations: 0.621 MB / 0.9049 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.429e-05/0.3057, allocations: 16 kB / 0.9049 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3057, allocations: 4.156 kB / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-05/0.3057, allocations: 15.92 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.3059, allocations: 4 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007057/0.3066, allocations: 0.5985 MB / 0.9055 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.3067, allocations: 0.6926 MB / 0.9062 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.3068, allocations: 12.42 kB / 0.9062 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.3068, allocations: 23.44 kB / 0.9062 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.3068, allocations: 0 / 0.9062 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01127/0.3181, allocations: 1.593 MB / 0.9077 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.3183, allocations: 208.1 kB / 0.9079 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/1.892, allocations: 1.719 kB / 0.9079 GB, free: 55.62 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)