Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.576/1.576, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001785/0.001785, allocations: 184.9 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001056, allocations: 82.38 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004128/0.0004128, allocations: 13.86 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2614, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.0015/0.263, allocations: 0.9837 MB / 0.9011 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005679/0.2636, allocations: 316.6 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.946e-05/0.2636, allocations: 4 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.2636, allocations: 0 / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.368e-05/0.2637, allocations: 7.922 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.2641, allocations: 67.78 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.864e-05/0.2641, allocations: 11.92 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.2642, allocations: 0 / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.898e-05/0.2642, allocations: 4 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.2642, allocations: 3.984 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.2643, allocations: 0 / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.2645, allocations: 183.7 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.983e-06/0.2645, allocations: 0 / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.2645, allocations: 25.7 kB / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.2647, allocations: 51.94 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2647, allocations: 0 / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2647, allocations: 0 / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2647, allocations: 0 / 0.9018 GB, free: 62.23 MB / 0.6042 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.0003036/0.265, allocations: 331.6 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2651, allocations: 8.031 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.032e-05/0.2651, allocations: 34.5 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.2651, allocations: 4 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.254e-05/0.2652, allocations: 171 kB / 0.9023 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2652, allocations: 0 / 0.9023 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.2653, allocations: 3.938 kB / 0.9023 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.45e-05/0.2653, allocations: 29.7 kB / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2654, allocations: 0 / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.2654, allocations: 0 / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2654, allocations: 0 / 0.9023 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.836e-05/0.2654, allocations: 8 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.2656, allocations: 157.7 kB / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.013e-05/0.2656, allocations: 30.5 kB / 0.9025 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.2656, allocations: 0 / 0.9025 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.2657, allocations: 30.56 kB / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.2657, allocations: 0 / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001387/0.2658, allocations: 45.75 kB / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.2659, allocations: 59.47 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.258e-05/0.2659, allocations: 93.86 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.2659, allocations: 29.64 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.266, allocations: 80.14 kB / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.266, allocations: 11.84 kB / 0.9028 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.266, allocations: 0 / 0.9028 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.435e-05/0.2661, allocations: 314.8 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-06/0.2661, allocations: 4 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.2661, allocations: 4.125 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.604e-05/0.2661, allocations: 7.953 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2661, allocations: 0 / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.987e-05/0.2662, allocations: 37.7 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2662, allocations: 4 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2662, allocations: 0 / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2662, allocations: 7.984 kB / 0.9032 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.2664, allocations: 12 kB / 0.9032 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002578/0.2667, allocations: 0.5938 MB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.2667, allocations: 3.953 kB / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.2667, allocations: 0 / 0.9038 GB, free: 59.9 MB / 0.6042 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 5.486e-05/0.2668, allocations: 117.9 kB / 0.9039 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-06/0.2668, allocations: 0 / 0.9039 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.952e-05/0.2669, allocations: 48.86 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2669, allocations: 3.984 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2669, allocations: 0 / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2669, allocations: 3.938 kB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.391e-05/0.267, allocations: 153.6 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.267, allocations: 0 / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.267, allocations: 12.8 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2671, allocations: 0 / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.2671, allocations: 0 / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001827/0.2672, allocations: 0.586 MB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2673, allocations: 0 / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.4e-05/0.2673, allocations: 73.09 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.2674, allocations: 81.02 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.2674, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.866e-05/0.2674, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.2674, allocations: 12.08 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.2674, allocations: 3.984 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.136e-05/0.2675, allocations: 75.28 kB / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2675, allocations: 0 / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002041/0.2677, allocations: 12 kB / 0.9049 GB, free: 58.61 MB / 0.6042 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.0002921/0.268, allocations: 0.6048 MB / 0.9055 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.2681, allocations: 27.86 kB / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2682, allocations: 0 / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.73e-05/0.2682, allocations: 11.98 kB / 0.9056 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.2684, allocations: 11 kB / 0.9056 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.2688, allocations: 144.9 kB / 0.9057 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.983e-05/0.2689, allocations: 0.677 MB / 0.9064 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.654e-05/0.2689, allocations: 0 / 0.9064 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.2689, allocations: 7.438 kB / 0.9064 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2689, allocations: 7.938 kB / 0.9064 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01272/0.2816, allocations: 1.142 MB / 0.9075 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.2819, allocations: 245.5 kB / 0.9077 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/1.878, allocations: 0 / 0.9077 GB, free: 55.8 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)