Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001739/0.001739, allocations: 185.1 kB / 377.1 MB, free: 1.516 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.951/1.951, allocations: 205.4 MB / 0.6366 GB, free: 8.598 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.0009194/0.0009194, allocations: 94.94 kB / 0.7509 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2722, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6883/0.9605, allocations: 139.4 MB / 1.125 GB, free: 35.22 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.9608, allocations: 77.69 kB / 1.125 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00639/0.9672, allocations: 2.279 MB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.935e-06/0.9672, allocations: 4 kB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.9672, allocations: 0 / 1.127 GB, free: 33.44 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002763/0.9675, allocations: 342.8 kB / 1.127 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.9676, allocations: 8.031 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.9676, allocations: 30.56 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.9677, allocations: 6.844 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.523e-05/0.9678, allocations: 167.3 kB / 1.127 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.9678, allocations: 4 kB / 1.127 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.9678, allocations: 0 / 1.127 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.9679, allocations: 37.22 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.9679, allocations: 3.938 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-06/0.9679, allocations: 0 / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.968, allocations: 0 / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/0.968, allocations: 11.47 kB / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.9681, allocations: 147.2 kB / 1.128 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.874e-05/0.9682, allocations: 26.36 kB / 1.128 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.9682, allocations: 4.562 kB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.9682, allocations: 34.62 kB / 1.128 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.083e-06/0.9683, allocations: 0 / 1.128 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001482/0.9684, allocations: 47.95 kB / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.9685, allocations: 51.41 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.454e-05/0.9685, allocations: 92.56 kB / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.9685, allocations: 26.36 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.996e-05/0.9686, allocations: 84.39 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.9686, allocations: 4 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.9686, allocations: 0 / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.942e-05/0.9687, allocations: 310.8 kB / 1.128 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.9687, allocations: 4 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-06/0.9687, allocations: 0 / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.702e-05/0.9687, allocations: 8.219 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9687, allocations: 3.953 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.297e-05/0.9688, allocations: 49.61 kB / 1.128 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.9688, allocations: 11.94 kB / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.9688, allocations: 0 / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.9689, allocations: 0 / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.969, allocations: 12.14 kB / 1.128 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002682/0.9693, allocations: 0.5785 MB / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.9694, allocations: 0 / 1.129 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.9694, allocations: 4.078 kB / 1.129 GB, free: 31.16 MB / 0.7292 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 6.456e-05/0.9694, allocations: 121.5 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-06/0.9695, allocations: 3.938 kB / 1.129 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.9696, allocations: 41.89 kB / 1.129 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.9696, allocations: 3.656 kB / 1.129 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.9696, allocations: 0.9375 kB / 1.129 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.9696, allocations: 0 / 1.129 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.554e-05/0.9697, allocations: 151.1 kB / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9697, allocations: 4.031 kB / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.9698, allocations: 11.56 kB / 1.129 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.9698, allocations: 0 / 1.129 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.9698, allocations: 0 / 1.129 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002088/0.97, allocations: 0.5889 MB / 1.13 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.97, allocations: 7.953 kB / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.584e-05/0.9701, allocations: 61.23 kB / 1.13 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.9701, allocations: 85.66 kB / 1.13 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.9701, allocations: 0 / 1.13 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/0.9702, allocations: 0.5625 kB / 1.13 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.9702, allocations: 9.688 kB / 1.13 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.9702, allocations: 0 / 1.13 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.966e-05/0.9702, allocations: 75.28 kB / 1.13 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9702, allocations: 0 / 1.13 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000206/0.9704, allocations: 12.12 kB / 1.13 GB, free: 29.9 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 (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.00031/0.9708, allocations: 0.6199 MB / 1.131 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.9709, allocations: 19.56 kB / 1.131 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9709, allocations: 8.031 kB / 1.131 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.322e-05/0.971, allocations: 15.36 kB / 1.131 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.9711, allocations: 0 / 1.131 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.9716, allocations: 150 kB / 1.131 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.9717, allocations: 0.6773 MB / 1.131 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.798e-05/0.9717, allocations: 4.062 kB / 1.131 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.9718, allocations: 7.438 kB / 1.131 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of SimCode: time 3.51e-07/0.9718, allocations: 0 / 1.131 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.9858, allocations: 1.134 MB / 1.133 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.986, allocations: 242.2 kB / 1.133 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.499, allocations: 1.25 kB / 1.133 GB, free: 27.56 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)