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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 188 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 70.5 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.261, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002951/0.264, allocations: 1.248 MB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2651, allocations: 0.5838 MB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.2652, allocations: 3.938 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.2652, allocations: 4 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.358e-05/0.2653, allocations: 0 / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006814/0.266, allocations: 139.4 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.038e-05/0.2661, allocations: 7.938 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.2661, allocations: 4 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.447e-05/0.2662, allocations: 3.938 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.2662, allocations: 7.984 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.2662, allocations: 0 / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.2668, allocations: 347.3 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.2668, allocations: 3.984 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.2668, allocations: 7.938 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.2671, allocations: 140 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2671, allocations: 0 / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2672, allocations: 0 / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2672, allocations: 0 / 0.7861 GB, free: 10.75 MB / 0.6075 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.0004626/0.2676, allocations: 351.4 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2677, allocations: 12.03 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.2677, allocations: 30.75 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.2678, allocations: 8.844 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.2679, allocations: 164.4 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2679, allocations: 4.375 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.268, allocations: 4.375 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.2681, allocations: 30.2 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2681, allocations: 7.938 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.2681, allocations: 0 / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.2681, allocations: 3.984 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.047e-05/0.2681, allocations: 4 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.2684, allocations: 153.7 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.733e-05/0.2684, allocations: 22.61 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.2685, allocations: 12.86 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.2685, allocations: 0 / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.2685, allocations: 42.56 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2685, allocations: 0 / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001658/0.2687, allocations: 49.62 kB / 0.7869 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.2688, allocations: 51.41 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.2688, allocations: 93.86 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.2689, allocations: 25.7 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.2689, allocations: 80.14 kB / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.269, allocations: 7.891 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.269, allocations: 17.72 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2691, allocations: 315.1 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.2692, allocations: 7.938 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-06/0.2692, allocations: 0 / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.318e-05/0.2692, allocations: 16.8 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2692, allocations: 4 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.51e-05/0.2693, allocations: 37.69 kB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2693, allocations: 8.875 kB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2693, allocations: 0 / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2693, allocations: 96 / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.2695, allocations: 15.98 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004254/0.27, allocations: 0.5899 MB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.27, allocations: 3.938 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.27, allocations: 4.031 kB / 0.7882 GB, free: 8.348 MB / 0.6075 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.184e-05/0.2701, allocations: 109.8 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.2701, allocations: 8 kB / 0.7883 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.2702, allocations: 44.81 kB / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2703, allocations: 0 / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2703, allocations: 4 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2703, allocations: 0 / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.2704, allocations: 153.6 kB / 0.7885 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2704, allocations: 0 / 0.7885 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.472e-05/0.2705, allocations: 11.94 kB / 0.7885 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.2705, allocations: 4 kB / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.2705, allocations: 0 / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003602/0.2709, allocations: 0.586 MB / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.2709, allocations: 3.938 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.022e-05/0.271, allocations: 57.17 kB / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.2711, allocations: 77.11 kB / 0.7892 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.2711, allocations: 16.05 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.2711, allocations: 0 / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.2711, allocations: 3.938 kB / 0.7892 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2711, allocations: 0 / 0.7892 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.2712, allocations: 83.28 kB / 0.7893 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2712, allocations: 0 / 0.7893 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002178/0.2714, allocations: 15.94 kB / 0.7893 GB, free: 7.051 MB / 0.6075 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004804/0.2719, allocations: 0.6078 MB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.2721, allocations: 19.92 kB / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.2721, allocations: 4 kB / 0.7899 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.921e-05/0.2722, allocations: 12 kB / 0.7899 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.2724, allocations: 7.922 kB / 0.7899 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.2729, allocations: 148.7 kB / 0.7901 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.2732, allocations: 0.6729 MB / 0.7907 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.817e-05/0.2732, allocations: 0 / 0.7907 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.2732, allocations: 7.438 kB / 0.7907 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.2732, allocations: 4 kB / 0.7907 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.2927, allocations: 1.38 MB / 0.7921 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.4, allocations: 13.59 kB / 0.7921 GB, free: 4.281 MB / 0.6075 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/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)