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.3273/0.3273, allocations: 54.42 MB / 61.89 MB, free: 13.75 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.00115/0.00115, allocations: 180.1 kB / 75.6 MB, free: 0.7695 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.859/1.859, allocations: 194.3 MB / 283.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001655/0.001655, allocations: 114.6 kB / 341.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.514e-05, allocations: 4 kB / 405.5 MB, free: 4.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4186, allocations: 57.64 MB / 463.2 MB, free: 51.76 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.5558, allocations: 86.09 MB / 0.5364 GB, free: 15.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/0.5562, allocations: 83 kB / 0.5365 GB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01721/0.5734, allocations: 2.748 MB / 0.5391 GB, free: 12.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5735, allocations: 3.938 kB / 0.5391 GB, free: 12.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.5735, allocations: 4 kB / 0.5391 GB, free: 12.31 MB / 394.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.0005086/0.574, allocations: 355 kB / 0.5395 GB, free: 11.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.5741, allocations: 8.031 kB / 0.5395 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.5742, allocations: 8.562 kB / 0.5395 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.5744, allocations: 160.5 kB / 0.5396 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.5744, allocations: 0 / 0.5396 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.5744, allocations: 4 kB / 0.5397 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001142/0.5746, allocations: 19.94 kB / 0.5397 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.5747, allocations: 33.64 kB / 0.5397 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5747, allocations: 4 kB / 0.5397 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.5747, allocations: 1.219 kB / 0.5397 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.5748, allocations: 4 kB / 0.5397 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.5752, allocations: 225.5 kB / 0.5399 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.5755, allocations: 50.64 kB / 0.54 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.5756, allocations: 18.27 kB / 0.54 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006054/0.5762, allocations: 218.2 kB / 0.5402 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.5762, allocations: 34.56 kB / 0.5402 GB, free: 11.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.5763, allocations: 4 kB / 0.5402 GB, free: 11 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.001263/0.5775, allocations: 185.5 kB / 0.5404 GB, free: 10.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.5776, allocations: 61.91 kB / 0.5405 GB, free: 10.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/0.5777, allocations: 89 kB / 0.5406 GB, free: 10.65 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.5777, allocations: 29.7 kB / 0.5406 GB, free: 10.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.5778, allocations: 84.05 kB / 0.5407 GB, free: 10.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.5778, allocations: 25.42 kB / 0.5407 GB, free: 10.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.5778, allocations: 0 / 0.5407 GB, free: 10.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.578, allocations: 310.8 kB / 0.541 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.711e-05/0.578, allocations: 12 kB / 0.541 GB, free: 10.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.674e-05/0.5781, allocations: 22.91 kB / 0.541 GB, free: 10.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.5781, allocations: 16.92 kB / 0.541 GB, free: 10.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.5781, allocations: 4 kB / 0.541 GB, free: 10.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001346/0.5783, allocations: 61.62 kB / 0.5411 GB, free: 10.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.5783, allocations: 11.94 kB / 0.5411 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5783, allocations: 0 / 0.5411 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.5783, allocations: 4 kB / 0.5411 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.5786, allocations: 32 kB / 0.5411 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.5786, allocations: 4 kB / 0.5412 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.5788, allocations: 19.98 kB / 0.5412 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.5788, allocations: 3.984 kB / 0.5412 GB, free: 9.996 MB / 394.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 () * 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.366e-05/0.5789, allocations: 113 kB / 0.5413 GB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.579, allocations: 0.5156 kB / 0.5413 GB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.579, allocations: 8.078 kB / 0.5413 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.579, allocations: 3.062 kB / 0.5413 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.579, allocations: 0 / 0.5413 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.579, allocations: 3.938 kB / 0.5413 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.5792, allocations: 148.3 kB / 0.5414 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5792, allocations: 0 / 0.5414 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.5795, allocations: 35.97 kB / 0.5415 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5795, allocations: 0 / 0.5415 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.5795, allocations: 0 / 0.5415 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5795, allocations: 0 / 0.5415 GB, free: 9.652 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.5795, allocations: 3.953 kB / 0.5415 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.5797, allocations: 159.5 kB / 0.5416 GB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.5798, allocations: 77.11 kB / 0.5417 GB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.5798, allocations: 7.938 kB / 0.5417 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.58, allocations: 24.84 kB / 0.5417 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.5801, allocations: 11.33 kB / 0.5417 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.5801, allocations: 0 / 0.5417 GB, free: 9.344 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.5801, allocations: 79.28 kB / 0.5418 GB, free: 9.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5801, allocations: 0 / 0.5418 GB, free: 9.266 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002687/0.5804, allocations: 8 kB / 0.5418 GB, free: 9.258 MB / 394.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 () * 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.0001686/0.5806, allocations: 107.1 kB / 0.5419 GB, free: 9.141 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.5807, allocations: 32 kB / 0.542 GB, free: 9.109 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5807, allocations: 0 / 0.542 GB, free: 9.109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.5808, allocations: 20.05 kB / 0.542 GB, free: 9.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.581, allocations: 4 kB / 0.542 GB, free: 9.086 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.5814, allocations: 99.91 kB / 0.5421 GB, free: 8.965 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.5818, allocations: 0.6807 MB / 0.5427 GB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.979e-05/0.5819, allocations: 7.984 kB / 0.5427 GB, free: 8.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.5819, allocations: 11.44 kB / 0.5428 GB, free: 8.242 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5819, allocations: 0 / 0.5428 GB, free: 8.242 MB / 394.7 MB Notification: Performance of Templates: time 0.002495/0.5844, allocations: 488.6 kB / 0.5432 GB, free: 7.793 MB / 394.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)