Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_IDEAS_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.01261/0.01261, allocations: 101.7 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 186.7 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.353/2.353, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.3/1.3, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 67.11 kB / 0.5809 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2652, allocations: 80.22 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002793/0.2681, allocations: 1.227 MB / 0.6604 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.2692, allocations: 0.6057 MB / 0.661 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.2693, allocations: 0 / 0.661 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.2693, allocations: 3.938 kB / 0.661 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.46e-05/0.2694, allocations: 4 kB / 0.661 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005819/0.27, allocations: 137.5 kB / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.168e-05/0.27, allocations: 11.94 kB / 0.6611 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.366e-05/0.2701, allocations: 4 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.132e-05/0.2701, allocations: 0 / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.038e-05/0.2702, allocations: 11.92 kB / 0.6611 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.2702, allocations: 0 / 0.6611 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005821/0.2708, allocations: 347.3 kB / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.2708, allocations: 0 / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.2709, allocations: 4 kB / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.2711, allocations: 143.1 kB / 0.6616 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2711, allocations: 0 / 0.6616 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2711, allocations: 0 / 0.6616 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.2712, allocations: 0 / 0.6616 GB, free: 11.53 MB / 0.4981 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.0004495/0.2716, allocations: 355.7 kB / 0.662 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.2717, allocations: 12.03 kB / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.2717, allocations: 30.75 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/0.2717, allocations: 0.9375 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2719, allocations: 168.4 kB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.2719, allocations: 4.375 kB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.2719, allocations: 4.125 kB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.272, allocations: 33.7 kB / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2721, allocations: 0 / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.2721, allocations: 0 / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2721, allocations: 0 / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.212e-05/0.2721, allocations: 4 kB / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.2723, allocations: 157.5 kB / 0.6624 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.921e-05/0.2724, allocations: 26.61 kB / 0.6624 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.2724, allocations: 8.797 kB / 0.6624 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.2724, allocations: 0 / 0.6624 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.2725, allocations: 34.62 kB / 0.6624 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.2725, allocations: 3.938 kB / 0.6624 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001615/0.2727, allocations: 49.53 kB / 0.6625 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.2727, allocations: 55.53 kB / 0.6625 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.2728, allocations: 97.86 kB / 0.6626 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2728, allocations: 25.7 kB / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.2729, allocations: 80.14 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.2729, allocations: 3.984 kB / 0.6627 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.2729, allocations: 13.72 kB / 0.6627 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2731, allocations: 314.8 kB / 0.663 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.2731, allocations: 8.125 kB / 0.663 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-06/0.2731, allocations: 0 / 0.663 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.2731, allocations: 16.86 kB / 0.6631 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2732, allocations: 0 / 0.6631 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.994e-05/0.2732, allocations: 49.47 kB / 0.6631 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2732, allocations: 4 kB / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2733, allocations: 0 / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2733, allocations: 0 / 0.6631 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.2735, allocations: 15.98 kB / 0.6631 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004099/0.2739, allocations: 0.5822 MB / 0.6637 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.2739, allocations: 0 / 0.6637 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2739, allocations: 7.969 kB / 0.6637 GB, free: 9.141 MB / 0.4981 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.061e-05/0.274, allocations: 114 kB / 0.6638 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.274, allocations: 0 / 0.6638 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.2742, allocations: 56.83 kB / 0.6639 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.2742, allocations: 4 kB / 0.6639 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2742, allocations: 0 / 0.6639 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2742, allocations: 0 / 0.6639 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2743, allocations: 149.6 kB / 0.664 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2743, allocations: 4 kB / 0.664 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.2744, allocations: 4 kB / 0.664 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2744, allocations: 4 kB / 0.664 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.2744, allocations: 0 / 0.664 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003641/0.2748, allocations: 0.6054 MB / 0.6646 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2748, allocations: 0 / 0.6646 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.406e-05/0.2749, allocations: 57.17 kB / 0.6647 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.275, allocations: 89.08 kB / 0.6648 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.275, allocations: 7.875 kB / 0.6648 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.751e-05/0.275, allocations: 8.062 kB / 0.6648 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.275, allocations: 0 / 0.6648 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.275, allocations: 0 / 0.6648 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.2751, allocations: 79.28 kB / 0.6648 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2751, allocations: 0 / 0.6648 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002128/0.2753, allocations: 11.94 kB / 0.6649 GB, free: 7.832 MB / 0.4981 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.0006305/0.276, allocations: 0.6203 MB / 0.6655 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.2762, allocations: 15.98 kB / 0.6655 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2762, allocations: 0 / 0.6655 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.2764, allocations: 15.98 kB / 0.6655 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.2766, allocations: 4.938 kB / 0.6655 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007559/0.2774, allocations: 143.7 kB / 0.6656 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.2778, allocations: 0.6729 MB / 0.6663 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.467e-05/0.2778, allocations: 0 / 0.6663 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.2779, allocations: 11.44 kB / 0.6663 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of SimCode: time 6.72e-07/0.2779, allocations: 0 / 0.6663 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/0.3111, allocations: 1.377 MB / 0.6676 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/15.96, allocations: 21.62 kB / 0.6677 GB, free: 5.078 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)