Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.6 MB / 307.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 173 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.4 MB / 0.6366 GB, free: 8.594 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009346/0.0009345, allocations: 95.28 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.000446, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3221, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8776/1.2, allocations: 140.7 MB / 1.126 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/1.2, allocations: 84.83 kB / 1.126 GB, free: 34.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01554/1.216, allocations: 5.318 MB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.098e-06/1.216, allocations: 0 / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.316e-06/1.216, allocations: 0 / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004583/1.216, allocations: 380.9 kB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/1.216, allocations: 12.67 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/1.216, allocations: 31.06 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/1.216, allocations: 4.781 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/1.217, allocations: 166.4 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/1.217, allocations: 0.8125 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/1.217, allocations: 4 kB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/1.217, allocations: 40.92 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/1.217, allocations: 8.75 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/1.217, allocations: 4 kB / 1.132 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/1.217, allocations: 0 / 1.132 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.112e-05/1.217, allocations: 11.47 kB / 1.132 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/1.217, allocations: 259.8 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/1.217, allocations: 50.09 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/1.217, allocations: 4 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/1.217, allocations: 30.56 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/1.218, allocations: 0.5625 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001649/1.218, allocations: 57.27 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/1.218, allocations: 55.36 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/1.218, allocations: 92.56 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/1.218, allocations: 25.7 kB / 1.132 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/1.218, allocations: 87.98 kB / 1.132 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/1.218, allocations: 16.56 kB / 1.132 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/1.218, allocations: 0 / 1.132 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.134e-05/1.218, allocations: 314.4 kB / 1.133 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/1.218, allocations: 8 kB / 1.133 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/1.218, allocations: 21.72 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.576e-05/1.218, allocations: 10.47 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.218, allocations: 0 / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.864e-05/1.218, allocations: 66.09 kB / 1.133 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.218, allocations: 8.625 kB / 1.133 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.218, allocations: 0 / 1.133 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.218, allocations: 0 / 1.133 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.776e-05/1.218, allocations: 8.75 kB / 1.133 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/1.218, allocations: 0 / 1.133 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/1.218, allocations: 7.891 kB / 1.133 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/1.218, allocations: 4 kB / 1.133 GB, free: 28.37 MB / 0.7292 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 (5): * Single equations (assignments): 5 * 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 6.276e-05/1.218, allocations: 113.5 kB / 1.133 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/1.218, allocations: 8.594 kB / 1.133 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/1.219, allocations: 57.91 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/1.219, allocations: 4 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.219, allocations: 0.8125 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.219, allocations: 3.469 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/1.219, allocations: 161 kB / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/1.219, allocations: 0 / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/1.219, allocations: 8 kB / 1.133 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.219, allocations: 0.6562 kB / 1.133 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/1.219, allocations: 4.938 kB / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.219, allocations: 0 / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.219, allocations: 0 / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/1.219, allocations: 158.3 kB / 1.133 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/1.219, allocations: 77.11 kB / 1.133 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/1.219, allocations: 4 kB / 1.133 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/1.219, allocations: 5.031 kB / 1.133 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/1.219, allocations: 1.656 kB / 1.133 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/1.219, allocations: 8 kB / 1.133 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.254e-05/1.219, allocations: 78.89 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.219, allocations: 0 / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002672/1.219, allocations: 20 kB / 1.133 GB, free: 27.6 MB / 0.7292 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0003531/1.22, allocations: 0.7077 MB / 1.134 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.273e-05/1.22, allocations: 35.11 kB / 1.134 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.22, allocations: 0 / 1.134 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/1.22, allocations: 9.125 kB / 1.134 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/1.22, allocations: 4.688 kB / 1.134 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/1.22, allocations: 180.7 kB / 1.134 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/1.221, allocations: 0.6803 MB / 1.135 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.5e-05/1.221, allocations: 10.09 kB / 1.135 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/1.221, allocations: 7.438 kB / 1.135 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.221, allocations: 0 / 1.135 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/1.233, allocations: 1.169 MB / 1.136 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/1.234, allocations: 197.5 kB / 1.136 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.927, allocations: 6.188 kB / 1.136 GB, free: 25.06 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)