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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008185/0.0008185, allocations: 99.86 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.0008637/0.0008637, 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.176/1.176, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8308/0.8308, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002808, allocations: 17.06 kB / 0.5068 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1404, allocations: 82.3 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001543/0.1419, allocations: 0.9867 MB / 0.5881 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000902/0.1429, allocations: 0.5299 MB / 0.5887 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.1429, allocations: 0 / 0.5887 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.1429, allocations: 0 / 0.5887 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.76e-05/0.143, allocations: 3.984 kB / 0.5887 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.1435, allocations: 123.6 kB / 0.5888 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.77e-05/0.1436, allocations: 11.98 kB / 0.5888 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.1436, allocations: 0 / 0.5888 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.304e-05/0.1436, allocations: 15.92 kB / 0.5888 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.1437, allocations: 11.98 kB / 0.5888 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.1437, allocations: 4 kB / 0.5888 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005104/0.1442, allocations: 359.4 kB / 0.5892 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.1443, allocations: 3.984 kB / 0.5892 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1443, allocations: 25.7 kB / 0.5892 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.1445, allocations: 100.1 kB / 0.5893 GB, free: 0.918 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1445, allocations: 0 / 0.5893 GB, free: 0.918 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1445, allocations: 0 / 0.5893 GB, free: 0.918 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1445, allocations: 0 / 0.5893 GB, free: 0.918 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.0003975/0.1449, allocations: 359.2 kB / 0.5896 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.145, allocations: 8.031 kB / 0.5896 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.145, allocations: 4 kB / 0.5897 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1451, allocations: 163 kB / 0.5898 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1451, allocations: 7.938 kB / 0.5898 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.1452, allocations: 4 kB / 0.5898 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.1453, allocations: 41.69 kB / 0.5899 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.1453, allocations: 4 kB / 0.5899 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1453, allocations: 0 / 0.5899 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1453, allocations: 4 kB / 0.5899 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.374e-05/0.1454, allocations: 15.98 kB / 0.5899 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.1457, allocations: 252.9 kB / 0.5901 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.1459, allocations: 50.62 kB / 0.5902 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1459, allocations: 0 / 0.5902 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.146, allocations: 38.5 kB / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.146, allocations: 0 / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001564/0.1461, allocations: 61.77 kB / 0.5903 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.1462, allocations: 55.34 kB / 0.5903 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.1462, allocations: 109.7 kB / 0.5904 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.1463, allocations: 25.7 kB / 0.5904 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.1463, allocations: 80.14 kB / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.1463, allocations: 15.75 kB / 0.5905 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.1463, allocations: 8 kB / 0.5905 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.1464, allocations: 314.8 kB / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.1464, allocations: 7.984 kB / 0.5909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.1465, allocations: 21.72 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/0.1465, allocations: 8 kB / 0.5909 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1465, allocations: 0 / 0.5909 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.832e-05/0.1466, allocations: 53.62 kB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.1466, allocations: 8 kB / 0.5909 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1466, allocations: 4.031 kB / 0.5909 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1467, allocations: 0 / 0.5909 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.792e-05/0.1467, allocations: 15.98 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1467, allocations: 0 / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.1467, allocations: 4 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1468, allocations: 0 / 0.591 GB, free: 14.99 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 6.293e-05/0.1468, allocations: 109.8 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.1469, allocations: 7.906 kB / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.147, allocations: 77.09 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.147, allocations: 0 / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.147, allocations: 0 / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.147, allocations: 0 / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.1472, allocations: 157.6 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1472, allocations: 0 / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.1472, allocations: 8 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1472, allocations: 0 / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1472, allocations: 0 / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1472, allocations: 0 / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1472, allocations: 4 kB / 0.5913 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.1473, allocations: 151.4 kB / 0.5915 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.1474, allocations: 85.03 kB / 0.5915 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.1474, allocations: 4 kB / 0.5915 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.558e-05/0.1475, allocations: 128 / 0.5915 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.1475, allocations: 4 kB / 0.5915 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1475, allocations: 4 kB / 0.5915 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.717e-05/0.1475, allocations: 75.8 kB / 0.5916 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1475, allocations: 4 kB / 0.5916 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002301/0.1478, allocations: 31.92 kB / 0.5917 GB, free: 14.18 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.0001604/0.1479, allocations: 115.2 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.269e-05/0.148, allocations: 32 kB / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.148, allocations: 0 / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.063e-05/0.1481, allocations: 15.98 kB / 0.5918 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.1482, allocations: 6.469 kB / 0.5918 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.1484, allocations: 136.3 kB / 0.5919 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1487, allocations: 0.6809 MB / 0.5926 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.1487, allocations: 7.891 kB / 0.5926 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.1488, allocations: 11.44 kB / 0.5926 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1488, allocations: 4 kB / 0.5926 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.002233/0.151, allocations: 478.2 kB / 0.5931 GB, free: 12.65 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile Environment - environmentSimulation: (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 & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) Environment - environmentSimulation: