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.0007687/0.0007689, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.000843/0.000843, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7287/0.7287, allocations: 132.3 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 11.98 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.4858, allocations: 81.57 MB / 0.5832 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001517/0.4874, allocations: 0.9719 MB / 0.5841 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.4885, allocations: 0.5455 MB / 0.5846 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.4885, allocations: 0 / 0.5846 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.4886, allocations: 0.7969 kB / 0.5846 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.286e-05/0.4886, allocations: 1.125 kB / 0.5846 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007623/0.4894, allocations: 111.2 kB / 0.5847 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.08e-05/0.4895, allocations: 9.328 kB / 0.5848 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.4895, allocations: 2.281 kB / 0.5848 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.692e-05/0.4896, allocations: 14.81 kB / 0.5848 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.456e-05/0.4896, allocations: 6.609 kB / 0.5848 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.4896, allocations: 5 kB / 0.5848 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008198/0.4905, allocations: 327.5 kB / 0.5851 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.4905, allocations: 4.781 kB / 0.5851 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.4905, allocations: 27.27 kB / 0.5851 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.4908, allocations: 99.86 kB / 0.5852 GB, free: 2.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.4909, allocations: 0.6562 kB / 0.5852 GB, free: 2.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4909, allocations: 0 / 0.5852 GB, free: 2.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4909, allocations: 0.8125 kB / 0.5852 GB, free: 2.68 MB / 430.1 MB 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.0004745/0.4914, allocations: 350.5 kB / 0.5856 GB, free: 2.305 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/0.4914, allocations: 9.312 kB / 0.5856 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.4915, allocations: 30.56 kB / 0.5856 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.4915, allocations: 10.06 kB / 0.5856 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.4916, allocations: 160.5 kB / 0.5858 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.4917, allocations: 1.266 kB / 0.5858 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.4917, allocations: 1.094 kB / 0.5858 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.4918, allocations: 30.25 kB / 0.5858 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4918, allocations: 0 / 0.5858 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.4919, allocations: 5.312 kB / 0.5858 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4919, allocations: 4.875 kB / 0.5858 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.648e-05/0.4919, allocations: 3.234 kB / 0.5858 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.4921, allocations: 154.7 kB / 0.5859 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.646e-05/0.4922, allocations: 24.38 kB / 0.586 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.4922, allocations: 12.56 kB / 0.586 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.4923, allocations: 0.6094 kB / 0.586 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.4923, allocations: 36.03 kB / 0.586 GB, free: 1.746 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.4923, allocations: 0 / 0.586 GB, free: 1.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001621/0.4925, allocations: 44.91 kB / 0.5861 GB, free: 1.707 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.4925, allocations: 53.16 kB / 0.5861 GB, free: 1.645 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.686e-05/0.4926, allocations: 93.38 kB / 0.5862 GB, free: 1.547 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.4926, allocations: 25.7 kB / 0.5862 GB, free: 1.516 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.163e-05/0.4926, allocations: 81.7 kB / 0.5863 GB, free: 1.434 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.4926, allocations: 16.94 kB / 0.5863 GB, free: 1.418 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.4927, allocations: 1.125 kB / 0.5863 GB, free: 1.418 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.4927, allocations: 316.1 kB / 0.5866 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.4927, allocations: 2.688 kB / 0.5866 GB, free: 1.102 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/0.4928, allocations: 2.656 kB / 0.5866 GB, free: 1.102 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.874e-05/0.4928, allocations: 2.734 kB / 0.5866 GB, free: 1.102 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4928, allocations: 0 / 0.5866 GB, free: 1.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.023e-05/0.4929, allocations: 47.12 kB / 0.5867 GB, free: 1.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4929, allocations: 10.03 kB / 0.5867 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4929, allocations: 1.25 kB / 0.5867 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4929, allocations: 3.938 kB / 0.5867 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.4931, allocations: 14.98 kB / 0.5867 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002493/0.4934, allocations: 0.5846 MB / 0.5873 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.4934, allocations: 0 / 0.5873 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.4934, allocations: 0 / 0.5873 GB, free: 468 kB / 430.1 MB 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 6.094e-05/0.4935, allocations: 119.3 kB / 0.5874 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-06/0.4935, allocations: 10.27 kB / 0.5874 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.956e-05/0.4936, allocations: 42.61 kB / 0.5874 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4936, allocations: 1.484 kB / 0.5874 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4936, allocations: 3.953 kB / 0.5874 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4936, allocations: 0.9062 kB / 0.5874 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.559e-05/0.4937, allocations: 150.6 kB / 0.5876 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4937, allocations: 4.844 kB / 0.5876 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.804e-05/0.4938, allocations: 13.92 kB / 0.5876 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4938, allocations: 0.8125 kB / 0.5876 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.4938, allocations: 1.688 kB / 0.5876 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003194/0.4941, allocations: 0.5868 MB / 0.5882 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4941, allocations: 0.6562 kB / 0.5882 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.812e-05/0.4942, allocations: 69.95 kB / 0.5882 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.4943, allocations: 77.67 kB / 0.5883 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.4943, allocations: 5.625 kB / 0.5883 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.542e-05/0.4943, allocations: 0.9688 kB / 0.5883 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.4943, allocations: 1.734 kB / 0.5883 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.4944, allocations: 0 / 0.5883 GB, free: 15.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.27e-05/0.4944, allocations: 77.83 kB / 0.5884 GB, free: 15.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4944, allocations: 1.219 kB / 0.5884 GB, free: 15.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.4946, allocations: 15.03 kB / 0.5884 GB, free: 15.24 MB / 446.1 MB 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.0004091/0.495, allocations: 0.6068 MB / 0.589 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.4952, allocations: 16.84 kB / 0.589 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4952, allocations: 96 / 0.589 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.435e-05/0.4953, allocations: 22.11 kB / 0.5891 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.4955, allocations: 5.328 kB / 0.5891 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.496, allocations: 144.6 kB / 0.5892 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.4963, allocations: 0.6746 MB / 0.5899 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.371e-05/0.4964, allocations: 4.656 kB / 0.5899 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.4964, allocations: 8.812 kB / 0.5899 GB, free: 13.76 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4964, allocations: 0 / 0.5899 GB, free: 13.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.5101, allocations: 1.152 MB / 0.591 GB, free: 13.64 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.5104, allocations: 246.3 kB / 0.5912 GB, free: 13.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.236, allocations: 0 / 0.5912 GB, free: 13.4 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: