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_inH2O.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_inH2O,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.737/1.737, allocations: 252 MB / 267.3 MB, free: 10.84 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.001047/0.001047, allocations: 178.6 kB / 327 MB, free: 2.098 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.324/2.324, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0009708/0.0009708, allocations: 87.73 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006245/0.000625, allocations: 7.938 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2554, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.0009662/0.2564, allocations: 0.5847 MB / 0.9015 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.2566, allocations: 39.78 kB / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.2566, allocations: 4 kB / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.2567, allocations: 7.922 kB / 0.9015 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.2568, allocations: 7.938 kB / 0.9015 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.747e-05/0.2568, allocations: 19.98 kB / 0.9016 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.766e-05/0.2569, allocations: 63.78 kB / 0.9016 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.2571, allocations: 41.38 kB / 0.9017 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.2571, allocations: 23.81 kB / 0.9017 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.2572, allocations: 19.8 kB / 0.9017 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.2572, allocations: 0 / 0.9017 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.876e-06/0.2572, allocations: 4 kB / 0.9017 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.2573, allocations: 23.84 kB / 0.9017 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.2573, allocations: 53.45 kB / 0.9018 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.61e-05/0.2574, allocations: 67.69 kB / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2574, allocations: 7.984 kB / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2574, allocations: 0 / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2574, allocations: 0 / 0.9019 GB, free: 62.42 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.0003418/0.2578, allocations: 367.6 kB / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2578, allocations: 8.031 kB / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.2579, allocations: 42.73 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.2579, allocations: 12.75 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.2581, allocations: 205.1 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.2581, allocations: 4.375 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.2581, allocations: 8.375 kB / 0.9025 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.2583, allocations: 98.44 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2583, allocations: 3.938 kB / 0.9026 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2583, allocations: 4 kB / 0.9026 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2583, allocations: 8 kB / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.2584, allocations: 39.92 kB / 0.9026 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.2589, allocations: 444.6 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.273e-05/0.2589, allocations: 45.19 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/0.2589, allocations: 13.84 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.259, allocations: 0 / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.259, allocations: 34.56 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.259, allocations: 0 / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001629/0.2592, allocations: 65.47 kB / 0.9032 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.2592, allocations: 81.11 kB / 0.9033 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2593, allocations: 166.2 kB / 0.9034 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.2593, allocations: 25.7 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.2594, allocations: 107.9 kB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/0.2594, allocations: 12.14 kB / 0.9036 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.2594, allocations: 4 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.2595, allocations: 322.8 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.2595, allocations: 7.938 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.968e-05/0.2595, allocations: 25.64 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.2596, allocations: 29.72 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2596, allocations: 0 / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.781e-05/0.2596, allocations: 69.48 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2597, allocations: 7.938 kB / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2597, allocations: 0 / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2597, allocations: 0 / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.2598, allocations: 11.98 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2598, allocations: 0 / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.2598, allocations: 3.938 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.2598, allocations: 4 kB / 0.904 GB, free: 59.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.2599, allocations: 117.9 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.2599, allocations: 15.75 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.26, allocations: 16.55 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.26, allocations: 0 / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.26, allocations: 0 / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.26, allocations: 0 / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.2603, allocations: 474.8 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2603, allocations: 0 / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.631e-05/0.2603, allocations: 15.98 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2603, allocations: 0 / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.2603, allocations: 0 / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2603, allocations: 4 kB / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2603, allocations: 0 / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.779e-05/0.2604, allocations: 77.84 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.2605, allocations: 93.03 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.2605, allocations: 0 / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/0.2605, allocations: 4 kB / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.2605, allocations: 8.078 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.2605, allocations: 0 / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.555e-05/0.2606, allocations: 128.9 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2606, allocations: 0 / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001718/0.2608, allocations: 8 kB / 0.905 GB, free: 58.87 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 (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.000243/0.261, allocations: 0.6209 MB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.901e-05/0.2611, allocations: 27.92 kB / 0.9056 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2612, allocations: 3.938 kB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.2612, allocations: 4.219 kB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.2613, allocations: 16.69 kB / 0.9056 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009467/0.2623, allocations: 1.395 MB / 0.907 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.2624, allocations: 0.6926 MB / 0.9076 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.628e-05/0.2625, allocations: 12.36 kB / 0.9077 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.2625, allocations: 27.42 kB / 0.9077 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.2625, allocations: 0 / 0.9077 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01089/0.2734, allocations: 1.466 MB / 0.9091 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.2737, allocations: 222.2 kB / 0.9093 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.038, allocations: 0 / 0.9093 GB, free: 54.37 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1)