Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 179.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4778/0.4778, allocations: 90.81 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 221.3 MB / 348.3 MB, free: 476 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009818/0.000982, allocations: 104.9 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.57e-05/3.579e-05, allocations: 4 kB / 0.4897 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4171, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.5484, allocations: 102 MB / 0.66 GB, free: 2.27 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.5487, allocations: 75.95 kB / 0.66 GB, free: 2.195 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01026/0.559, allocations: 3.488 MB / 0.6634 GB, free: 14.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5591, allocations: 3.938 kB / 0.6634 GB, free: 14.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.5591, allocations: 0 / 0.6634 GB, free: 14.72 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003254/0.5594, allocations: 346.4 kB / 0.6638 GB, free: 14.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.768e-05/0.5595, allocations: 11.98 kB / 0.6638 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.5595, allocations: 34.52 kB / 0.6638 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.359e-05/0.5596, allocations: 11.84 kB / 0.6638 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.5597, allocations: 163.1 kB / 0.664 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.5597, allocations: 0 / 0.664 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.5597, allocations: 0 / 0.664 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.474e-05/0.5598, allocations: 33.7 kB / 0.664 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-06/0.5598, allocations: 0 / 0.664 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.5599, allocations: 7.984 kB / 0.664 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.5599, allocations: 3.953 kB / 0.664 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.814e-05/0.5599, allocations: 4 kB / 0.664 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.5601, allocations: 149.7 kB / 0.6642 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.374e-05/0.5601, allocations: 22.55 kB / 0.6642 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.5602, allocations: 9.578 kB / 0.6642 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.5602, allocations: 0 / 0.6642 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.5602, allocations: 42.55 kB / 0.6642 GB, free: 13.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.5602, allocations: 0 / 0.6642 GB, free: 13.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001192/0.5604, allocations: 33.7 kB / 0.6643 GB, free: 13.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.5604, allocations: 55.36 kB / 0.6643 GB, free: 13.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.82e-05/0.5605, allocations: 89 kB / 0.6644 GB, free: 13.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.5605, allocations: 34.77 kB / 0.6644 GB, free: 13.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.5606, allocations: 80.14 kB / 0.6645 GB, free: 13.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.5606, allocations: 12.05 kB / 0.6645 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.5606, allocations: 4 kB / 0.6645 GB, free: 13.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5607, allocations: 314.8 kB / 0.6648 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-06/0.5608, allocations: 0 / 0.6648 GB, free: 13.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.969e-06/0.5608, allocations: 8 kB / 0.6648 GB, free: 13.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.385e-05/0.5608, allocations: 0 / 0.6648 GB, free: 13.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5608, allocations: 4 kB / 0.6648 GB, free: 13.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.95e-05/0.5609, allocations: 33.7 kB / 0.6649 GB, free: 13.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.5609, allocations: 12.03 kB / 0.6649 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.5609, allocations: 0 / 0.6649 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.5609, allocations: 6.422 kB / 0.6649 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.5611, allocations: 11.98 kB / 0.6649 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003695/0.5615, allocations: 0.5859 MB / 0.6655 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.5615, allocations: 4.031 kB / 0.6655 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.5615, allocations: 0 / 0.6655 GB, free: 12.38 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/0.5616, allocations: 109.1 kB / 0.6656 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-06/0.5616, allocations: 3.984 kB / 0.6656 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.5617, allocations: 44.78 kB / 0.6656 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5617, allocations: 4 kB / 0.6656 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5617, allocations: 3.938 kB / 0.6656 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5617, allocations: 3.984 kB / 0.6656 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.5618, allocations: 145.6 kB / 0.6658 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5618, allocations: 4 kB / 0.6658 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-05/0.5619, allocations: 12.02 kB / 0.6658 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5619, allocations: 4 kB / 0.6658 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.562, allocations: 0 / 0.6658 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000309/0.5623, allocations: 0.5821 MB / 0.6664 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5623, allocations: 0 / 0.6664 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.499e-05/0.5624, allocations: 73.19 kB / 0.6664 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.5624, allocations: 81.06 kB / 0.6665 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.5625, allocations: 0 / 0.6665 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.283e-05/0.5625, allocations: 0 / 0.6665 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.5625, allocations: 0 / 0.6665 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.5625, allocations: 12 kB / 0.6665 GB, free: 11.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.174e-05/0.5625, allocations: 75.28 kB / 0.6666 GB, free: 11.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5626, allocations: 0 / 0.6666 GB, free: 11.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.5627, allocations: 21.05 kB / 0.6666 GB, free: 11.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004321/0.5632, allocations: 0.6126 MB / 0.6672 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.5633, allocations: 23.92 kB / 0.6672 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5634, allocations: 0 / 0.6672 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.748e-05/0.5634, allocations: 16.08 kB / 0.6673 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.918e-05/0.5635, allocations: 2.391 kB / 0.6673 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002641/0.5638, allocations: 103.1 kB / 0.6674 GB, free: 10.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.5641, allocations: 0.6798 MB / 0.668 GB, free: 9.574 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.666e-05/0.5641, allocations: 0 / 0.668 GB, free: 9.574 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.5641, allocations: 7.438 kB / 0.668 GB, free: 9.566 MB / 490.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5641, allocations: 0 / 0.668 GB, free: 9.566 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/0.5766, allocations: 1.138 MB / 0.6691 GB, free: 8.672 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.5768, allocations: 202.4 kB / 0.6693 GB, free: 8.453 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/2.079, allocations: 0 / 0.6693 GB, free: 8.453 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)