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_dp.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_dp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.584/1.584, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001047/0.001047, allocations: 176.9 kB / 361.4 MB, free: 6.801 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.385/1.385, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0009442/0.0009444, allocations: 99.45 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.052e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.6479, allocations: 115.3 MB / 0.9645 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.831, allocations: 137.8 MB / 1.099 GB, free: 2.031 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.8313, allocations: 79.94 kB / 1.099 GB, free: 1.953 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01034/0.8417, allocations: 3.434 MB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8417, allocations: 0 / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.8417, allocations: 0.5312 kB / 1.102 GB, free: 14.57 MB / 0.7136 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.0003162/0.842, allocations: 335.2 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.8421, allocations: 8.656 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.8421, allocations: 5.031 kB / 1.103 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.8423, allocations: 167.7 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.8423, allocations: 0 / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.8423, allocations: 0.6875 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.607e-05/0.8424, allocations: 7.094 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.047e-05/0.8424, allocations: 38.36 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.8424, allocations: 0 / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.8425, allocations: 0.6562 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.8425, allocations: 2.625 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.8426, allocations: 134.9 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.182e-05/0.8427, allocations: 23.36 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.8427, allocations: 5.516 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.8428, allocations: 1.969 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.8428, allocations: 34.56 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8428, allocations: 0 / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001537/0.843, allocations: 40.92 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.843, allocations: 55.41 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.923e-05/0.8431, allocations: 96.92 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.8431, allocations: 25.7 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.8432, allocations: 80.14 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.8432, allocations: 4 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.8432, allocations: 0.9688 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8433, allocations: 310.8 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.8433, allocations: 2.312 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.063e-05/0.8434, allocations: 8 kB / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.531e-05/0.8434, allocations: 0 / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8434, allocations: 0 / 1.104 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.534e-05/0.8435, allocations: 45.55 kB / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.8435, allocations: 12.25 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.8435, allocations: 0 / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.8435, allocations: 0 / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.8437, allocations: 8 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000393/0.8441, allocations: 0.5889 MB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.8441, allocations: 0 / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.8441, allocations: 4.031 kB / 1.104 GB, free: 12.36 MB / 0.7136 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 () * 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 8.676e-05/0.8442, allocations: 109 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.206e-05/0.8443, allocations: 40.61 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/0.8443, allocations: 0 / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.877e-05/0.8444, allocations: 45.38 kB / 1.105 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.8444, allocations: 0 / 1.105 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8444, allocations: 0 / 1.105 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.8444, allocations: 0 / 1.105 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.8446, allocations: 138.2 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8446, allocations: 4.75 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.987e-05/0.8447, allocations: 11.98 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.8447, allocations: 0 / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.8447, allocations: 0 / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003404/0.845, allocations: 0.5892 MB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.845, allocations: 3.953 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.582e-05/0.8451, allocations: 69.19 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.8452, allocations: 77.11 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.8452, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.561e-05/0.8452, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.8452, allocations: 11.89 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.8453, allocations: 0 / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.8453, allocations: 75.28 kB / 1.106 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8453, allocations: 0 / 1.106 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002102/0.8455, allocations: 24.06 kB / 1.106 GB, free: 11.06 MB / 0.7136 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 () * 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.0004085/0.8459, allocations: 0.6122 MB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.8461, allocations: 19.98 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8461, allocations: 0 / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.57e-05/0.8462, allocations: 12.09 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.8463, allocations: 0 / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.8466, allocations: 92.02 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.8469, allocations: 0.6814 MB / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.621e-05/0.8469, allocations: 5.156 kB / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.847, allocations: 7.438 kB / 1.107 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/0.847, allocations: 0 / 1.107 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.8658, allocations: 0.7421 MB / 1.108 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.866, allocations: 186.9 kB / 1.108 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/2.348, allocations: 0 / 1.108 GB, free: 8.648 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)