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.004377/0.004377, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001022/0.001022, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9205/0.9205, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.89 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4472, allocations: 80.91 MB / 0.6646 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001911/0.4491, allocations: 1.273 MB / 0.6659 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007842/0.4499, allocations: 0.5945 MB / 0.6665 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.083e-05/0.4499, allocations: 4 kB / 0.6665 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.45, allocations: 0 / 0.6665 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.088e-05/0.45, allocations: 5.062 kB / 0.6665 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.4505, allocations: 151.7 kB / 0.6666 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.959e-05/0.4505, allocations: 21.52 kB / 0.6666 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.4506, allocations: 6.531 kB / 0.6666 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.4506, allocations: 8.062 kB / 0.6666 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.4506, allocations: 11.64 kB / 0.6667 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.4507, allocations: 5 kB / 0.6667 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.4511, allocations: 349.5 kB / 0.667 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.4511, allocations: 1.219 kB / 0.667 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.209e-05/0.4511, allocations: 7.844 kB / 0.667 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.4513, allocations: 144.1 kB / 0.6671 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4513, allocations: 0 / 0.6671 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4513, allocations: 1.469 kB / 0.6671 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.4514, allocations: 0 / 0.6671 GB, free: 5.703 MB / 0.4981 GB 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.0003186/0.4517, allocations: 360 kB / 0.6675 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.4517, allocations: 17.64 kB / 0.6675 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.4517, allocations: 6.094 kB / 0.6675 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.666e-05/0.4518, allocations: 165.8 kB / 0.6677 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.4518, allocations: 1.406 kB / 0.6677 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.4519, allocations: 1.875 kB / 0.6677 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.043e-05/0.4519, allocations: 48.88 kB / 0.6677 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.452, allocations: 0 / 0.6677 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.452, allocations: 1.125 kB / 0.6677 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.452, allocations: 0 / 0.6677 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.325e-05/0.452, allocations: 17.08 kB / 0.6677 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.4523, allocations: 257 kB / 0.668 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.4525, allocations: 49.78 kB / 0.668 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.4525, allocations: 17.7 kB / 0.668 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.4525, allocations: 0 / 0.668 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.4525, allocations: 36.09 kB / 0.6681 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.4525, allocations: 0 / 0.6681 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001509/0.4527, allocations: 55.34 kB / 0.6681 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.782e-05/0.4527, allocations: 52.44 kB / 0.6682 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.38e-05/0.4528, allocations: 102.5 kB / 0.6683 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.4528, allocations: 25.7 kB / 0.6683 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.4528, allocations: 81.64 kB / 0.6684 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/0.4528, allocations: 17.22 kB / 0.6684 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.4528, allocations: 18.23 kB / 0.6684 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.4529, allocations: 322.8 kB / 0.6687 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.4529, allocations: 5.375 kB / 0.6687 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.4529, allocations: 23.05 kB / 0.6688 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.147e-05/0.453, allocations: 29.62 kB / 0.6688 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.453, allocations: 0 / 0.6688 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.393e-05/0.4531, allocations: 63.34 kB / 0.6688 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.4531, allocations: 15.41 kB / 0.6689 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4531, allocations: 1.438 kB / 0.6689 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4531, allocations: 48 / 0.6689 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.4532, allocations: 15.61 kB / 0.6689 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4532, allocations: 5.047 kB / 0.6689 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.4532, allocations: 5.156 kB / 0.6689 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.4532, allocations: 1.438 kB / 0.6689 GB, free: 3.867 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.4533, allocations: 122.1 kB / 0.669 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.4533, allocations: 1.906 kB / 0.669 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.4534, allocations: 60.84 kB / 0.6691 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.4534, allocations: 0 / 0.6691 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4534, allocations: 1.406 kB / 0.6691 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4534, allocations: 3.984 kB / 0.6691 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.4535, allocations: 158.5 kB / 0.6692 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4536, allocations: 3.984 kB / 0.6692 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.4536, allocations: 6.156 kB / 0.6692 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.4536, allocations: 0 / 0.6692 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.4536, allocations: 0.8438 kB / 0.6692 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.4536, allocations: 1.219 kB / 0.6692 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4536, allocations: 4 kB / 0.6692 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.216e-05/0.4537, allocations: 155.4 kB / 0.6694 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.4537, allocations: 78.17 kB / 0.6695 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.4537, allocations: 5.125 kB / 0.6695 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.58e-05/0.4538, allocations: 0 / 0.6695 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.4538, allocations: 5.328 kB / 0.6695 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.4538, allocations: 1.219 kB / 0.6695 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.746e-05/0.4538, allocations: 81.69 kB / 0.6695 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4538, allocations: 1.25 kB / 0.6695 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002286/0.4541, allocations: 17.41 kB / 0.6696 GB, free: 3.137 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 (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.0001378/0.4542, allocations: 121.9 kB / 0.6697 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.4543, allocations: 31.23 kB / 0.6697 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4543, allocations: 0 / 0.6697 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-05/0.4543, allocations: 12.05 kB / 0.6697 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.4545, allocations: 5.125 kB / 0.6697 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.4548, allocations: 124.9 kB / 0.6698 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.818e-05/0.4549, allocations: 0.6782 MB / 0.6705 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.894e-05/0.4549, allocations: 6.609 kB / 0.6705 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.4549, allocations: 12.81 kB / 0.6705 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4549, allocations: 0 / 0.6705 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of Templates: time 0.002246/0.4572, allocations: 0.5152 MB / 0.671 GB, free: 1.895 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (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)