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_m_flow.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_m_flow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001044/0.001044, allocations: 175.5 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, 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.001006/0.001006, allocations: 84.83 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 11.38 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2682, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001559/0.2699, allocations: 0.9871 MB / 0.9011 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004843/0.2703, allocations: 292.6 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.2704, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.2704, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.2705, allocations: 3.984 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.2708, allocations: 63.8 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.433e-05/0.2708, allocations: 3.984 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.2709, allocations: 7.984 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.01e-05/0.2709, allocations: 3.938 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.071e-05/0.271, allocations: 4 kB / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.271, allocations: 0 / 0.9015 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.2712, allocations: 183.6 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.655e-06/0.2712, allocations: 0 / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.2713, allocations: 25.7 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.2714, allocations: 51.94 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2714, allocations: 0 / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.053e-06/0.2714, allocations: 4 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2715, allocations: 0 / 0.9017 GB, free: 62.22 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.0003264/0.2718, allocations: 327.7 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2718, allocations: 12.02 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.2719, allocations: 30.56 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.2719, allocations: 0 / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.272, allocations: 167 kB / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.272, allocations: 4 kB / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.2721, allocations: 0 / 0.9022 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.2722, allocations: 37.64 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2722, allocations: 0 / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.2722, allocations: 3.984 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2722, allocations: 0 / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.852e-05/0.2722, allocations: 8 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.2724, allocations: 149.7 kB / 0.9024 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.614e-05/0.2725, allocations: 26.56 kB / 0.9025 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.2725, allocations: 7.984 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2725, allocations: 34.5 kB / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2725, allocations: 0 / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001334/0.2727, allocations: 41.77 kB / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.2727, allocations: 51.41 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.437e-05/0.2728, allocations: 97.84 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.2728, allocations: 29.64 kB / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.757e-05/0.2728, allocations: 84.39 kB / 0.9028 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.2728, allocations: 11.84 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.2728, allocations: 3.938 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.2729, allocations: 310.8 kB / 0.9031 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.2729, allocations: 4 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.2729, allocations: 0 / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.614e-05/0.273, allocations: 11.89 kB / 0.9031 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.273, allocations: 0 / 0.9031 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.101e-05/0.273, allocations: 45.75 kB / 0.9032 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.273, allocations: 4 kB / 0.9032 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.273, allocations: 0 / 0.9032 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2731, allocations: 4 kB / 0.9032 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.2732, allocations: 11.98 kB / 0.9032 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000248/0.2735, allocations: 0.5898 MB / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.2735, allocations: 3.953 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.2735, allocations: 4.125 kB / 0.9038 GB, free: 59.89 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.614e-05/0.2736, allocations: 113.9 kB / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-06/0.2736, allocations: 0 / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.599e-05/0.2737, allocations: 44.81 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2737, allocations: 0 / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2737, allocations: 0 / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2737, allocations: 0 / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.064e-05/0.2738, allocations: 153.6 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2738, allocations: 4.031 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.596e-05/0.2739, allocations: 8 kB / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2739, allocations: 0 / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.2739, allocations: 3.984 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001824/0.2741, allocations: 0.5859 MB / 0.9046 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2741, allocations: 0 / 0.9046 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.359e-05/0.2742, allocations: 66.08 kB / 0.9047 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.2742, allocations: 89 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.2742, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.2742, allocations: 0 / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.2742, allocations: 7.953 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.2743, allocations: 3.938 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.207e-05/0.2743, allocations: 79.22 kB / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2743, allocations: 0 / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002071/0.2745, allocations: 16.12 kB / 0.9049 GB, free: 58.6 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.0002811/0.2748, allocations: 0.6086 MB / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.275, allocations: 23.98 kB / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.275, allocations: 4.094 kB / 0.9055 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.62e-05/0.275, allocations: 15.92 kB / 0.9055 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.741e-05/0.2752, allocations: 11.89 kB / 0.9055 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.2756, allocations: 132.8 kB / 0.9057 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.2757, allocations: 0.677 MB / 0.9063 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.113e-05/0.2758, allocations: 4.062 kB / 0.9063 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.2758, allocations: 11.44 kB / 0.9063 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2758, allocations: 0 / 0.9063 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.2892, allocations: 1.158 MB / 0.9075 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.2894, allocations: 252.7 kB / 0.9077 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/1.834, allocations: 6.516 kB / 0.9077 GB, free: 55.77 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)