Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.801/1.801, allocations: 288.2 MB / 303.2 MB, free: 8.074 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.001081/0.001081, allocations: 185 kB / 371.8 MB, free: 10.14 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.661/1.661, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009155/0.0009155, allocations: 94.86 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003861, allocations: 15.84 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2228, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7011/0.9239, allocations: 138.4 MB / 1.115 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.9242, allocations: 76.86 kB / 1.115 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006718/0.9309, allocations: 2.276 MB / 1.117 GB, free: 32.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.931, allocations: 0 / 1.117 GB, free: 32.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.931, allocations: 0 / 1.117 GB, free: 32.08 MB / 0.698 GB 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.0003143/0.9313, allocations: 347.2 kB / 1.117 GB, free: 31.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.9313, allocations: 11.67 kB / 1.117 GB, free: 31.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.9314, allocations: 34.41 kB / 1.117 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.047e-05/0.9314, allocations: 0 / 1.117 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/0.9315, allocations: 169.2 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.9315, allocations: 3.938 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.9315, allocations: 3.812 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.619e-05/0.9316, allocations: 29.31 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.9316, allocations: 0 / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.9317, allocations: 7.875 kB / 1.118 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.9317, allocations: 0 / 1.118 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.467e-05/0.9317, allocations: 1.5 kB / 1.118 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.9319, allocations: 154 kB / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.981e-05/0.9319, allocations: 31.25 kB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.9319, allocations: 0 / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.932, allocations: 34.5 kB / 1.118 GB, free: 31.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.932, allocations: 4 kB / 1.118 GB, free: 31.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001318/0.9321, allocations: 43.33 kB / 1.118 GB, free: 31.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.9322, allocations: 55.22 kB / 1.118 GB, free: 31.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.482e-05/0.9322, allocations: 86.45 kB / 1.118 GB, free: 30.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.9322, allocations: 25.7 kB / 1.118 GB, free: 30.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.9323, allocations: 87.8 kB / 1.118 GB, free: 30.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.9323, allocations: 0 / 1.118 GB, free: 30.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.9323, allocations: 256 / 1.118 GB, free: 30.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.9324, allocations: 316.1 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.9325, allocations: 7.812 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-06/0.9325, allocations: 5.297 kB / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.564e-05/0.9325, allocations: 7.281 kB / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.9325, allocations: 3.953 kB / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.514e-05/0.9326, allocations: 38.47 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.9326, allocations: 6.734 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.9326, allocations: 0 / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.9326, allocations: 7.906 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.9328, allocations: 9.625 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003578/0.9331, allocations: 0.5849 MB / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.9332, allocations: 0 / 1.119 GB, free: 29.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.9332, allocations: 3.953 kB / 1.119 GB, free: 29.9 MB / 0.698 GB 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 () * Number of clocked 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.297e-05/0.9333, allocations: 116.9 kB / 1.119 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.9333, allocations: 0 / 1.119 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.9334, allocations: 44.86 kB / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.9334, allocations: 0 / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.9334, allocations: 0 / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.9334, allocations: 0 / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.943e-05/0.9335, allocations: 159.3 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9335, allocations: 0 / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.184e-05/0.9336, allocations: 13.97 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.9336, allocations: 0 / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.9336, allocations: 10.81 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000286/0.9339, allocations: 0.5852 MB / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9339, allocations: 3.953 kB / 1.12 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.614e-05/0.934, allocations: 59.08 kB / 1.12 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.934, allocations: 84.38 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.934, allocations: 7.875 kB / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.4e-05/0.9341, allocations: 3.125 kB / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.9341, allocations: 3.953 kB / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.9341, allocations: 3.75 kB / 1.12 GB, free: 28.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.126e-05/0.9341, allocations: 75.28 kB / 1.12 GB, free: 28.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9341, allocations: 0 / 1.12 GB, free: 28.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001956/0.9343, allocations: 10.16 kB / 1.12 GB, free: 28.71 MB / 0.698 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 (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.0003979/0.9348, allocations: 0.6225 MB / 1.121 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.9349, allocations: 18.41 kB / 1.121 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9349, allocations: 0 / 1.121 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.921e-05/0.935, allocations: 10.62 kB / 1.121 GB, free: 28.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001/0.9351, allocations: 15.86 kB / 1.121 GB, free: 28.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.9355, allocations: 139.8 kB / 1.121 GB, free: 27.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.9358, allocations: 0.6759 MB / 1.122 GB, free: 27.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.624e-05/0.9358, allocations: 3.875 kB / 1.122 GB, free: 27.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.9358, allocations: 11 kB / 1.122 GB, free: 27.25 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.9358, allocations: 0 / 1.122 GB, free: 27.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01535/0.9512, allocations: 1.148 MB / 1.123 GB, free: 27.11 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.9514, allocations: 249.1 kB / 1.123 GB, free: 26.78 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.379/2.33, allocations: 0 / 1.123 GB, free: 26.78 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)