Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.00119/0.00119, allocations: 180.2 kB / 326.5 MB, free: 2.254 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.267/2.267, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001345/0.001345, allocations: 87.73 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004789, allocations: 13.12 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2557, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.0009574/0.2567, allocations: 0.5563 MB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001036/0.2569, allocations: 53.03 kB / 0.9007 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.2569, allocations: 0 / 0.9007 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.2569, allocations: 3.938 kB / 0.9007 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/0.257, allocations: 7.984 kB / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.527e-05/0.2571, allocations: 12 kB / 0.9008 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.211e-05/0.2572, allocations: 43.88 kB / 0.9008 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.2573, allocations: 33.58 kB / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.461e-05/0.2573, allocations: 19.86 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.2574, allocations: 23.86 kB / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.2574, allocations: 3.984 kB / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-06/0.2574, allocations: 0 / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.2575, allocations: 7.938 kB / 0.9009 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.2575, allocations: 37.64 kB / 0.9009 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.007e-05/0.2576, allocations: 55.88 kB / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2576, allocations: 4 kB / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2576, allocations: 0 / 0.901 GB, free: 63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2576, allocations: 0 / 0.901 GB, free: 63 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.0003165/0.2579, allocations: 371.4 kB / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.258, allocations: 8.031 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.329e-05/0.258, allocations: 42.56 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.258, allocations: 15.75 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.2582, allocations: 208 kB / 0.9016 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2582, allocations: 4 kB / 0.9016 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.2582, allocations: 12 kB / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.2584, allocations: 91.3 kB / 0.9017 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2584, allocations: 0 / 0.9017 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.2584, allocations: 7.875 kB / 0.9017 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2584, allocations: 7.984 kB / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.909e-05/0.2585, allocations: 35.98 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.2589, allocations: 444.6 kB / 0.9022 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.54e-05/0.259, allocations: 45.27 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.259, allocations: 0 / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.259, allocations: 38.69 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.259, allocations: 0 / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001525/0.2592, allocations: 61.45 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.2592, allocations: 77.11 kB / 0.9024 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2593, allocations: 174.1 kB / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.2593, allocations: 25.7 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.2594, allocations: 104 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-06/0.2594, allocations: 4.156 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.2594, allocations: 4 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.2594, allocations: 322.8 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.2595, allocations: 8 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.2595, allocations: 17.72 kB / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.133e-05/0.2595, allocations: 8 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2595, allocations: 4 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.892e-05/0.2596, allocations: 65.48 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2596, allocations: 8 kB / 0.9031 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2596, allocations: 0 / 0.9031 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.2596, allocations: 0 / 0.9031 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.2597, allocations: 4 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.2597, allocations: 4 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.2597, allocations: 11.84 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.2598, allocations: 0 / 0.9031 GB, free: 60.56 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.441e-05/0.2598, allocations: 117.8 kB / 0.9032 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.2599, allocations: 23.86 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.2599, allocations: 8.562 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2599, allocations: 4 kB / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2599, allocations: 0 / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2599, allocations: 0 / 0.9033 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.2602, allocations: 482.8 kB / 0.9037 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2602, allocations: 0 / 0.9037 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/0.2602, allocations: 8.062 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2602, allocations: 0 / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.2603, allocations: 0 / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2603, allocations: 3.938 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2603, allocations: 3.938 kB / 0.9037 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.759e-05/0.2603, allocations: 99.56 kB / 0.9038 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.2604, allocations: 96.94 kB / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2604, allocations: 0 / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.402e-05/0.2604, allocations: 4 kB / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.2604, allocations: 4 kB / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.2604, allocations: 0 / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.998e-05/0.2605, allocations: 120.9 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2605, allocations: 0 / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001765/0.2607, allocations: 8 kB / 0.9041 GB, free: 59.48 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.0002188/0.2609, allocations: 0.7031 MB / 0.9047 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.702e-05/0.261, allocations: 19.94 kB / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.261, allocations: 160 / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-05/0.261, allocations: 11.98 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.945e-05/0.2611, allocations: 11.94 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.2618, allocations: 0.7455 MB / 0.9055 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.97e-05/0.2619, allocations: 0.6965 MB / 0.9062 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.2619, allocations: 12.42 kB / 0.9062 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.262, allocations: 23.44 kB / 0.9062 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.262, allocations: 0 / 0.9062 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01161/0.2736, allocations: 1.595 MB / 0.9078 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/0.2738, allocations: 193 kB / 0.908 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/1.69, allocations: 0 / 0.908 GB, free: 55.48 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)