Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009023/0.0009024, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006495/0.006495, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7836/0.7836, allocations: 132.4 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003168, allocations: 8 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4601/0.4604, allocations: 81.58 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001606/0.4621, allocations: 1.011 MB / 0.5847 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.4633, allocations: 0.6003 MB / 0.5852 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.4633, allocations: 0 / 0.5852 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.4633, allocations: 0.7031 kB / 0.5852 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.695e-05/0.4634, allocations: 1.766 kB / 0.5852 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.4639, allocations: 130.2 kB / 0.5854 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.333e-05/0.4639, allocations: 23.92 kB / 0.5854 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.464, allocations: 1.969 kB / 0.5854 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.753e-05/0.464, allocations: 5.812 kB / 0.5854 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.4641, allocations: 10.53 kB / 0.5854 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.4641, allocations: 0.8438 kB / 0.5854 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005994/0.4647, allocations: 344.7 kB / 0.5857 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.4647, allocations: 5.531 kB / 0.5857 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.4648, allocations: 34.53 kB / 0.5858 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.4651, allocations: 152.7 kB / 0.5859 GB, free: 2.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4651, allocations: 0 / 0.5859 GB, free: 2.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4651, allocations: 4 kB / 0.5859 GB, free: 2.605 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.4651, allocations: 0 / 0.5859 GB, free: 2.605 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004048/0.4655, allocations: 352.2 kB / 0.5863 GB, free: 2.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4656, allocations: 9.125 kB / 0.5863 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.4656, allocations: 2.156 kB / 0.5863 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.333e-05/0.4657, allocations: 170.9 kB / 0.5864 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4657, allocations: 6.578 kB / 0.5864 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.4658, allocations: 2.094 kB / 0.5864 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.4659, allocations: 48.25 kB / 0.5865 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4659, allocations: 0 / 0.5865 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.4659, allocations: 0.7188 kB / 0.5865 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4659, allocations: 0.9688 kB / 0.5865 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.064e-05/0.466, allocations: 19.27 kB / 0.5865 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.4663, allocations: 253.7 kB / 0.5868 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.4665, allocations: 45.41 kB / 0.5868 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.4665, allocations: 19.19 kB / 0.5868 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.4666, allocations: 1.375 kB / 0.5868 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.4666, allocations: 35.22 kB / 0.5869 GB, free: 1.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4666, allocations: 5.438 kB / 0.5869 GB, free: 1.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000191/0.4668, allocations: 55.17 kB / 0.5869 GB, free: 1.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.4668, allocations: 56.22 kB / 0.587 GB, free: 1.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.792e-05/0.4669, allocations: 100.2 kB / 0.5871 GB, free: 1.402 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.4669, allocations: 29.7 kB / 0.5871 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.467, allocations: 82.11 kB / 0.5872 GB, free: 1.285 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.467, allocations: 18.27 kB / 0.5872 GB, free: 1.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.467, allocations: 13.05 kB / 0.5872 GB, free: 1.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.36e-05/0.4671, allocations: 319.5 kB / 0.5875 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.4671, allocations: 5.906 kB / 0.5875 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.942e-05/0.4672, allocations: 21.41 kB / 0.5875 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.316e-05/0.4672, allocations: 33.55 kB / 0.5876 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4672, allocations: 0.75 kB / 0.5876 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001109/0.4674, allocations: 59.86 kB / 0.5876 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4674, allocations: 5.719 kB / 0.5876 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4674, allocations: 5.031 kB / 0.5876 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4674, allocations: 1 kB / 0.5876 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.74e-05/0.4675, allocations: 7.656 kB / 0.5876 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4675, allocations: 1.578 kB / 0.5876 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.603e-05/0.4675, allocations: 5.297 kB / 0.5876 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.4676, allocations: 5.875 kB / 0.5876 GB, free: 0.832 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.764e-05/0.4676, allocations: 118.4 kB / 0.5878 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.4677, allocations: 5.859 kB / 0.5878 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.4678, allocations: 65.77 kB / 0.5878 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4678, allocations: 0.8125 kB / 0.5878 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4679, allocations: 1.375 kB / 0.5878 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4679, allocations: 0 / 0.5878 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.468, allocations: 163.9 kB / 0.588 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.468, allocations: 0 / 0.588 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.4681, allocations: 6.688 kB / 0.588 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4681, allocations: 4.562 kB / 0.588 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.4681, allocations: 1.25 kB / 0.588 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4681, allocations: 0.7031 kB / 0.588 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4681, allocations: 0 / 0.588 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.4683, allocations: 151.9 kB / 0.5881 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.4683, allocations: 78.94 kB / 0.5882 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.4683, allocations: 5.438 kB / 0.5882 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.4684, allocations: 4 kB / 0.5882 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.4684, allocations: 3.875 kB / 0.5882 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.4684, allocations: 1.453 kB / 0.5882 GB, free: 208 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.246e-05/0.4685, allocations: 78.81 kB / 0.5883 GB, free: 132 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.4685, allocations: 0 / 0.5883 GB, free: 132 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.4687, allocations: 22.75 kB / 0.5883 GB, free: 124 kB / 430.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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.4689, allocations: 125.3 kB / 0.5884 GB, free: 20 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.071e-05/0.469, allocations: 25.48 kB / 0.5885 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.469, allocations: 0 / 0.5885 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.11e-05/0.4691, allocations: 13.67 kB / 0.5885 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.4693, allocations: 10.03 kB / 0.5885 GB, free: 0 / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.4696, allocations: 134.2 kB / 0.5886 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.4698, allocations: 0.6775 MB / 0.5893 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.33e-05/0.4698, allocations: 10.41 kB / 0.5893 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.4699, allocations: 10.88 kB / 0.5893 GB, free: 15.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4699, allocations: 0 / 0.5893 GB, free: 15.16 MB / 446.1 MB Notification: Performance of Templates: time 0.002526/0.4724, allocations: 497.8 kB / 0.5898 GB, free: 15.09 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)