Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.00128/0.00128, allocations: 100 kB / 15.05 MB, free: 1.105 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.001587/0.001587, allocations: 177.3 kB / 15.94 MB, free: 228 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.899/1.899, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.358/1.358, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004731, allocations: 16.62 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2097, allocations: 82.31 MB / 0.5873 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002244/0.212, allocations: 0.9556 MB / 0.5882 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008571/0.2129, allocations: 311.1 kB / 0.5885 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.213, allocations: 0 / 0.5885 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.213, allocations: 0 / 0.5885 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.705e-05/0.2131, allocations: 0 / 0.5885 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.2137, allocations: 62.55 kB / 0.5886 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.032e-05/0.2138, allocations: 7.984 kB / 0.5886 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.842e-05/0.2138, allocations: 3.984 kB / 0.5886 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.678e-05/0.2139, allocations: 8 kB / 0.5886 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.214, allocations: 3.938 kB / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.214, allocations: 0 / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005135/0.2145, allocations: 175.8 kB / 0.5888 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.2145, allocations: 0 / 0.5888 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.2146, allocations: 33.64 kB / 0.5888 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.2148, allocations: 48.16 kB / 0.5888 GB, free: 1.453 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2148, allocations: 3.938 kB / 0.5888 GB, free: 1.449 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2148, allocations: 0 / 0.5888 GB, free: 1.449 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.2149, allocations: 0 / 0.5888 GB, free: 1.449 MB / 494.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.0005109/0.2154, allocations: 343.3 kB / 0.5892 GB, free: 1.066 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.348e-05/0.2155, allocations: 8.031 kB / 0.5892 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.2155, allocations: 34.56 kB / 0.5892 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.2156, allocations: 0 / 0.5892 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.2158, allocations: 167 kB / 0.5894 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.2158, allocations: 0 / 0.5894 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.2158, allocations: 0 / 0.5894 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.216, allocations: 37.67 kB / 0.5894 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.216, allocations: 0 / 0.5894 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.216, allocations: 4 kB / 0.5894 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.216, allocations: 4 kB / 0.5894 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.078e-05/0.2161, allocations: 7.938 kB / 0.5894 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.2164, allocations: 149.6 kB / 0.5896 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.586e-05/0.2164, allocations: 26.59 kB / 0.5896 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.2165, allocations: 0 / 0.5896 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.2165, allocations: 34.62 kB / 0.5896 GB, free: 492 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.2166, allocations: 4 kB / 0.5896 GB, free: 488 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001934/0.2168, allocations: 41.64 kB / 0.5897 GB, free: 440 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.2168, allocations: 51.41 kB / 0.5897 GB, free: 376 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.2169, allocations: 97.84 kB / 0.5898 GB, free: 268 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.217, allocations: 25.7 kB / 0.5898 GB, free: 236 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.217, allocations: 84.14 kB / 0.5899 GB, free: 148 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.2171, allocations: 3.906 kB / 0.5899 GB, free: 144 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.2171, allocations: 0 / 0.5899 GB, free: 144 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2173, allocations: 319.1 kB / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.2173, allocations: 0 / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.904e-05/0.2173, allocations: 4 kB / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/0.2174, allocations: 4 kB / 0.5902 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2174, allocations: 3.953 kB / 0.5902 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001084/0.2175, allocations: 41.62 kB / 0.5903 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.2175, allocations: 8 kB / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2176, allocations: 4 kB / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.2176, allocations: 4.094 kB / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.2178, allocations: 11.98 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005446/0.2184, allocations: 0.5782 MB / 0.5909 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.2185, allocations: 0 / 0.5909 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.2185, allocations: 3.953 kB / 0.5909 GB, free: 15.13 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 (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 0.0001108/0.2186, allocations: 113.9 kB / 0.591 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.2186, allocations: 8 kB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.2188, allocations: 52.69 kB / 0.591 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.2188, allocations: 3.938 kB / 0.591 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2188, allocations: 0 / 0.591 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2189, allocations: 0 / 0.591 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.219, allocations: 157.6 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2191, allocations: 0 / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.2192, allocations: 8 kB / 0.5912 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.2192, allocations: 3.984 kB / 0.5912 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.2193, allocations: 4.031 kB / 0.5912 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000564/0.2198, allocations: 0.5899 MB / 0.5918 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.2199, allocations: 3.953 kB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.22, allocations: 57.17 kB / 0.5918 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.2201, allocations: 81.22 kB / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.2201, allocations: 4 kB / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.485e-05/0.2202, allocations: 4 kB / 0.5919 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.2202, allocations: 3.953 kB / 0.5919 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.2202, allocations: 0 / 0.5919 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.506e-05/0.2203, allocations: 79.28 kB / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2203, allocations: 0 / 0.592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003809/0.2207, allocations: 7.938 kB / 0.592 GB, free: 13.83 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 (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.0006693/0.2214, allocations: 0.6164 MB / 0.5926 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.2217, allocations: 19.98 kB / 0.5926 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2217, allocations: 0 / 0.5926 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.2219, allocations: 11.98 kB / 0.5926 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.2221, allocations: 8.156 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006633/0.2227, allocations: 144.6 kB / 0.5928 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.2231, allocations: 0.677 MB / 0.5935 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.715e-05/0.2232, allocations: 0 / 0.5935 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.2232, allocations: 11.44 kB / 0.5935 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.2233, allocations: 0 / 0.5935 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.2474, allocations: 1.129 MB / 0.5946 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003531/0.2479, allocations: 249 kB / 0.5948 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/2.752, allocations: 0 / 0.5948 GB, free: 11.12 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) Environment - environmentSimulation: