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.001784/0.001784, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002184/0.002184, allocations: 194.9 kB / 16.25 MB, free: 6.637 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.298/2.298, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.381/1.381, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 65.22 kB / 0.505 GB, free: 5.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2192, allocations: 80.92 MB / 0.584 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.004601/0.2239, allocations: 1.306 MB / 0.5853 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2257, allocations: 0.5894 MB / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.2258, allocations: 0 / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.2258, allocations: 3.938 kB / 0.5859 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.078e-05/0.2259, allocations: 4 kB / 0.5859 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009779/0.2269, allocations: 122.7 kB / 0.586 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.232e-05/0.227, allocations: 23.88 kB / 0.586 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.25e-05/0.2271, allocations: 3.984 kB / 0.586 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.2271, allocations: 4 kB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.2272, allocations: 3.984 kB / 0.586 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.2272, allocations: 0 / 0.586 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008406/0.2281, allocations: 343.3 kB / 0.5863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.2281, allocations: 3.984 kB / 0.5863 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.2282, allocations: 7.938 kB / 0.5863 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.2286, allocations: 132 kB / 0.5865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2286, allocations: 0 / 0.5865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.919e-06/0.2286, allocations: 4 kB / 0.5865 GB, free: 2.207 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2287, allocations: 7.938 kB / 0.5865 GB, free: 2.199 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.0006512/0.2293, allocations: 355.4 kB / 0.5868 GB, free: 1.805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001213/0.2295, allocations: 8.031 kB / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.2295, allocations: 30.75 kB / 0.5869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.2296, allocations: 0.9375 kB / 0.5869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.2298, allocations: 168.4 kB / 0.587 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.2298, allocations: 384 / 0.587 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.2299, allocations: 384 / 0.587 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.23, allocations: 41.64 kB / 0.5871 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2301, allocations: 0 / 0.5871 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2301, allocations: 0 / 0.5871 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.2301, allocations: 0 / 0.5871 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.194e-05/0.2302, allocations: 11.92 kB / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.2305, allocations: 149.7 kB / 0.5872 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.2306, allocations: 18.58 kB / 0.5872 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.2307, allocations: 8.922 kB / 0.5872 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.2307, allocations: 11.92 kB / 0.5873 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.2308, allocations: 34.56 kB / 0.5873 GB, free: 1.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/0.2308, allocations: 3.938 kB / 0.5873 GB, free: 1.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002518/0.2311, allocations: 37.64 kB / 0.5873 GB, free: 1.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.2312, allocations: 55.41 kB / 0.5874 GB, free: 1.094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2313, allocations: 97.84 kB / 0.5875 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.2313, allocations: 25.95 kB / 0.5875 GB, free: 0.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.2314, allocations: 84.14 kB / 0.5876 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.2315, allocations: 7.906 kB / 0.5876 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.2315, allocations: 9.719 kB / 0.5876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.2317, allocations: 318.8 kB / 0.5879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.2318, allocations: 0 / 0.5879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.2318, allocations: 4 kB / 0.5879 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.477e-05/0.2318, allocations: 16.84 kB / 0.5879 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2319, allocations: 8 kB / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001156/0.232, allocations: 41.58 kB / 0.588 GB, free: 460 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.232, allocations: 4 kB / 0.588 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.232, allocations: 0 / 0.588 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.2321, allocations: 4 kB / 0.588 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.2323, allocations: 7.984 kB / 0.588 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006551/0.233, allocations: 0.5821 MB / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.2331, allocations: 4.125 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2331, allocations: 0 / 0.5886 GB, free: 15.82 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 0.0001435/0.2333, allocations: 117.7 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.2333, allocations: 7.938 kB / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.2335, allocations: 44.81 kB / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2335, allocations: 0 / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2335, allocations: 0 / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2336, allocations: 0 / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.2338, allocations: 157.6 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.2338, allocations: 4 kB / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.2339, allocations: 11.98 kB / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2339, allocations: 0 / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2339, allocations: 3.984 kB / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004728/0.2344, allocations: 0.5898 MB / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2344, allocations: 0 / 0.5895 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.2346, allocations: 69.25 kB / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.2346, allocations: 77.11 kB / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.2347, allocations: 3.938 kB / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.621e-05/0.2347, allocations: 0 / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.2347, allocations: 0 / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.2347, allocations: 4 kB / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.2348, allocations: 79.31 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2348, allocations: 0 / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003574/0.2352, allocations: 19.88 kB / 0.5897 GB, free: 14.52 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.0004762/0.2357, allocations: 0.6162 MB / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.2358, allocations: 24.05 kB / 0.5903 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2359, allocations: 0 / 0.5903 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.298e-05/0.236, allocations: 23.86 kB / 0.5903 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.2361, allocations: 4 kB / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.2367, allocations: 135.7 kB / 0.5905 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.2371, allocations: 0.6729 MB / 0.5911 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.744e-05/0.2371, allocations: 4.125 kB / 0.5911 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.2371, allocations: 11.42 kB / 0.5912 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2371, allocations: 0 / 0.5912 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.2525, allocations: 1.246 MB / 0.5924 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.2528, allocations: 266.2 kB / 0.5926 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/2.904, allocations: 0 / 0.5926 GB, free: 11.59 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/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)