Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3164/0.3164, allocations: 55.01 MB / 69.95 MB, free: 8.652 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001156/0.001156, allocations: 198 kB / 83.99 MB, free: 10.82 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.939/1.939, allocations: 194.4 MB / 292.3 MB, free: 3.605 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001676/0.001676, allocations: 108.8 kB / 350.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004251, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1449, allocations: 57.66 MB / 476.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5054/0.6503, allocations: 86.85 MB / 0.5502 GB, free: 2.531 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.6506, allocations: 79.2 kB / 0.5502 GB, free: 2.484 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008367/0.659, allocations: 2.766 MB / 0.5529 GB, free: 72 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6591, allocations: 0 / 0.5529 GB, free: 72 kB / 362.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.6591, allocations: 0 / 0.5529 GB, free: 72 kB / 362.7 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.000458/0.6595, allocations: 371.7 kB / 0.5533 GB, free: 15.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.6596, allocations: 8.031 kB / 0.5533 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.6596, allocations: 4 kB / 0.5533 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.6598, allocations: 167 kB / 0.5535 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.6599, allocations: 0 / 0.5535 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.6599, allocations: 0 / 0.5535 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.6612, allocations: 235.2 kB / 0.5537 GB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.6613, allocations: 4 kB / 0.5537 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.6613, allocations: 0 / 0.5537 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.6613, allocations: 0 / 0.5537 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.6624, allocations: 199.7 kB / 0.5539 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.6629, allocations: 255.6 kB / 0.5541 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.6643, allocations: 244.9 kB / 0.5544 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005786/0.6649, allocations: 218.2 kB / 0.5546 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.665, allocations: 30.56 kB / 0.5546 GB, free: 14.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.745e-06/0.665, allocations: 4 kB / 0.5546 GB, free: 14.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.002398/0.6674, allocations: 438.4 kB / 0.555 GB, free: 13.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.6675, allocations: 57.97 kB / 0.5551 GB, free: 13.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.6676, allocations: 92.38 kB / 0.5552 GB, free: 13.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.6676, allocations: 25.7 kB / 0.5552 GB, free: 13.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.6677, allocations: 84.14 kB / 0.5553 GB, free: 13.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.6677, allocations: 15.73 kB / 0.5553 GB, free: 13.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.6677, allocations: 3.438 kB / 0.5553 GB, free: 13.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.6678, allocations: 310.8 kB / 0.5556 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.6681, allocations: 59.77 kB / 0.5556 GB, free: 13.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.6683, allocations: 80.16 kB / 0.5557 GB, free: 13.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.6686, allocations: 59.52 kB / 0.5558 GB, free: 12.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6686, allocations: 3.938 kB / 0.5558 GB, free: 12.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005441/0.6691, allocations: 163.2 kB / 0.5559 GB, free: 12.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.6692, allocations: 4 kB / 0.5559 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6692, allocations: 0 / 0.5559 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.6692, allocations: 0 / 0.5559 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.6694, allocations: 36 kB / 0.556 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.6695, allocations: 0 / 0.556 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.6696, allocations: 35.91 kB / 0.556 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.6697, allocations: 0 / 0.556 GB, free: 12.75 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.138e-05/0.6698, allocations: 113.8 kB / 0.5561 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.6698, allocations: 7.859 kB / 0.5561 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.6698, allocations: 15.36 kB / 0.5561 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6699, allocations: 0 / 0.5561 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6699, allocations: 0 / 0.5561 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.6699, allocations: 0 / 0.5561 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.6701, allocations: 165.6 kB / 0.5563 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6701, allocations: 0 / 0.5563 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.6703, allocations: 31.97 kB / 0.5563 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.6703, allocations: 0 / 0.5563 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.6703, allocations: 3.953 kB / 0.5563 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6703, allocations: 0 / 0.5563 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6703, allocations: 4 kB / 0.5563 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005806/0.6709, allocations: 247.1 kB / 0.5566 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.671, allocations: 85.47 kB / 0.5567 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.671, allocations: 0 / 0.5567 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.6712, allocations: 27.94 kB / 0.5567 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.6712, allocations: 7.984 kB / 0.5567 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.6713, allocations: 3.938 kB / 0.5567 GB, free: 11.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.166e-05/0.6713, allocations: 87.14 kB / 0.5568 GB, free: 11.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6713, allocations: 0 / 0.5568 GB, free: 11.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002383/0.6716, allocations: 11.94 kB / 0.5568 GB, free: 11.89 MB / 378.7 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 (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.0001827/0.6718, allocations: 103.2 kB / 0.5569 GB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005375/0.6723, allocations: 127.6 kB / 0.557 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6723, allocations: 0 / 0.557 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.6726, allocations: 70.52 kB / 0.5571 GB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.6727, allocations: 0 / 0.5571 GB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.6735, allocations: 214.5 kB / 0.5573 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.6738, allocations: 0.6809 MB / 0.5579 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.105e-05/0.6739, allocations: 11.98 kB / 0.558 GB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.6739, allocations: 11.44 kB / 0.558 GB, free: 10.64 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.6739, allocations: 0 / 0.558 GB, free: 10.64 MB / 378.7 MB Notification: Performance of Templates: time 0.002534/0.6765, allocations: 0.4952 MB / 0.5585 GB, free: 10.15 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)