Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.0009597/0.0009597, allocations: 99.78 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.001001/0.001001, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.108/2.108, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.407/1.407, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005207/0.0005208, allocations: 8 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1922, allocations: 82.31 MB / 0.5873 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001385/0.1936, allocations: 0.9828 MB / 0.5882 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008876/0.1945, allocations: 0.526 MB / 0.5888 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.1946, allocations: 0 / 0.5888 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.1946, allocations: 0 / 0.5888 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.562e-05/0.1946, allocations: 8 kB / 0.5888 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.1951, allocations: 123.5 kB / 0.5889 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.918e-05/0.1952, allocations: 11.98 kB / 0.5889 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.1952, allocations: 3.984 kB / 0.5889 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.738e-05/0.1953, allocations: 11.94 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.1953, allocations: 7.984 kB / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1953, allocations: 4 kB / 0.5889 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005511/0.1959, allocations: 359.4 kB / 0.5893 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.1959, allocations: 7.984 kB / 0.5893 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.196, allocations: 33.7 kB / 0.5893 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1962, allocations: 92.11 kB / 0.5894 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.1962, allocations: 0 / 0.5894 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1962, allocations: 0 / 0.5894 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1962, allocations: 0 / 0.5894 GB, free: 0.8789 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004374/0.1966, allocations: 359.2 kB / 0.5897 GB, free: 492 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1967, allocations: 12.03 kB / 0.5897 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.1967, allocations: 30.56 kB / 0.5898 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.1968, allocations: 8 kB / 0.5898 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.1969, allocations: 171 kB / 0.5899 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1969, allocations: 0 / 0.5899 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1969, allocations: 4 kB / 0.59 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1971, allocations: 41.69 kB / 0.59 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1971, allocations: 3.984 kB / 0.59 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1971, allocations: 0 / 0.59 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1971, allocations: 0 / 0.59 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.284e-05/0.1972, allocations: 15.98 kB / 0.59 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.1975, allocations: 253 kB / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.1978, allocations: 50.56 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1978, allocations: 4 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1978, allocations: 34.5 kB / 0.5903 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1978, allocations: 0 / 0.5903 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001904/0.198, allocations: 61.62 kB / 0.5904 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.1981, allocations: 55.41 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.1982, allocations: 97.84 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.1982, allocations: 29.7 kB / 0.5906 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.1982, allocations: 84.14 kB / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.1983, allocations: 11.75 kB / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.1983, allocations: 0 / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1984, allocations: 322.8 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.1984, allocations: 7.984 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.1985, allocations: 21.72 kB / 0.591 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.66e-05/0.1985, allocations: 8 kB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1985, allocations: 0 / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.779e-05/0.1986, allocations: 61.56 kB / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1986, allocations: 4 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1986, allocations: 0 / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1987, allocations: 4 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.192e-05/0.1987, allocations: 7.984 kB / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1987, allocations: 8.031 kB / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/0.1988, allocations: 0 / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1988, allocations: 0 / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.954e-05/0.1989, allocations: 120.2 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.1989, allocations: 3.906 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.1991, allocations: 69.09 kB / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1991, allocations: 0 / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1991, allocations: 0 / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1991, allocations: 4 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.1993, allocations: 162.1 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1993, allocations: 0 / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.1993, allocations: 4 kB / 0.5914 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1993, allocations: 0 / 0.5914 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1994, allocations: 4 kB / 0.5914 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1994, allocations: 128 / 0.5914 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1994, allocations: 4 kB / 0.5914 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.1995, allocations: 159.4 kB / 0.5916 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.1996, allocations: 88.97 kB / 0.5917 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1996, allocations: 4 kB / 0.5917 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.158e-05/0.1996, allocations: 0 / 0.5917 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.1997, allocations: 4 kB / 0.5917 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1997, allocations: 0 / 0.5917 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.516e-05/0.1997, allocations: 79.28 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1997, allocations: 0 / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002593/0.2, allocations: 19.98 kB / 0.5918 GB, free: 14.1 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005127/0.2005, allocations: 0.7123 MB / 0.5925 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.097e-05/0.2006, allocations: 19.98 kB / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2006, allocations: 0 / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.956e-05/0.2007, allocations: 12 kB / 0.5925 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.2008, allocations: 4 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.2013, allocations: 170.2 kB / 0.5927 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.2015, allocations: 0.6809 MB / 0.5933 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.2016, allocations: 4 kB / 0.5933 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.2016, allocations: 11.44 kB / 0.5934 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2016, allocations: 7.938 kB / 0.5934 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01107/0.2127, allocations: 1.163 MB / 0.5945 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.2129, allocations: 198.3 kB / 0.5947 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/2.761, allocations: 0 / 0.5947 GB, free: 11.15 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) Environment - environmentSimulation: