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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009947/0.0009949, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007692/0.007692, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.412/0.412, allocations: 55.01 MB / 325.7 MB, free: 0.5469 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006216/0.0006215, allocations: 16.56 kB / 397.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3877, allocations: 60.72 MB / 458 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001663/0.3895, allocations: 1.003 MB / 459 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3905, allocations: 0.5212 MB / 459.5 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.3906, allocations: 0 / 459.5 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.3906, allocations: 3.938 kB / 459.5 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.3907, allocations: 0 / 459.5 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.3912, allocations: 99.72 kB / 459.6 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.916e-05/0.3913, allocations: 26.28 kB / 459.6 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.917e-05/0.3913, allocations: 0 / 459.6 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.3914, allocations: 7.875 kB / 459.6 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.3914, allocations: 18.72 kB / 459.7 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.3915, allocations: 0.5625 kB / 459.7 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005293/0.392, allocations: 347.2 kB / 460 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.502e-05/0.392, allocations: 0.5 kB / 460 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.3921, allocations: 43.31 kB / 460 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.3924, allocations: 131.9 kB / 460.2 MB, free: 38.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3924, allocations: 0 / 460.2 MB, free: 38.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3924, allocations: 3.531 kB / 460.2 MB, free: 38.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3924, allocations: 3.281 kB / 460.2 MB, free: 38.84 MB / 382.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.0003723/0.3928, allocations: 346.1 kB / 460.5 MB, free: 38.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3928, allocations: 14.69 kB / 460.5 MB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.3929, allocations: 2.188 kB / 460.5 MB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.561e-05/0.3929, allocations: 172.4 kB / 460.7 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.393, allocations: 4.375 kB / 460.7 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.393, allocations: 5.062 kB / 460.7 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.3942, allocations: 234.4 kB / 460.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3942, allocations: 192 / 460.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3942, allocations: 5.25 kB / 460.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3942, allocations: 0 / 460.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.3953, allocations: 207.9 kB / 461.1 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.3956, allocations: 253.7 kB / 461.4 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.3967, allocations: 243.4 kB / 461.6 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.3968, allocations: 20.86 kB / 461.6 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/0.3973, allocations: 237.2 kB / 461.9 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.3973, allocations: 30.56 kB / 461.9 MB, free: 37.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.3973, allocations: 4.75 kB / 461.9 MB, free: 37.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.002103/0.3994, allocations: 439.7 kB / 462.3 MB, free: 37.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.3994, allocations: 55.34 kB / 462.4 MB, free: 37.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.861e-05/0.3995, allocations: 101 kB / 462.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.3995, allocations: 25.7 kB / 462.5 MB, free: 37.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.3995, allocations: 84.08 kB / 462.6 MB, free: 37.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.3995, allocations: 12.89 kB / 462.6 MB, free: 37.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.3996, allocations: 9.719 kB / 462.6 MB, free: 37.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.3996, allocations: 320.8 kB / 462.9 MB, free: 37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.3999, allocations: 62.25 kB / 463 MB, free: 37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.4001, allocations: 68.94 kB / 463.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.4005, allocations: 131.6 kB / 463.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4005, allocations: 0 / 463.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004867/0.401, allocations: 165.6 kB / 463.4 MB, free: 36.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4011, allocations: 5.688 kB / 463.4 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.4011, allocations: 0 / 463.4 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4011, allocations: 6.875 kB / 463.4 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.4013, allocations: 31.42 kB / 463.4 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4013, allocations: 0.6562 kB / 463.4 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.4014, allocations: 40.23 kB / 463.4 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.4015, allocations: 2.344 kB / 463.4 MB, free: 36.88 MB / 382.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.579e-05/0.4015, allocations: 119.7 kB / 463.6 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.4016, allocations: 2.953 kB / 463.6 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.4016, allocations: 10.25 kB / 463.6 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4016, allocations: 0 / 463.6 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4016, allocations: 5.125 kB / 463.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4016, allocations: 0 / 463.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.4018, allocations: 164.8 kB / 463.7 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4018, allocations: 0 / 463.7 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.402, allocations: 32.88 kB / 463.8 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.402, allocations: 4 kB / 463.8 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.402, allocations: 0.8125 kB / 463.8 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.402, allocations: 3.938 kB / 463.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.402, allocations: 0 / 463.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.4025, allocations: 254.1 kB / 464 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.4025, allocations: 83.58 kB / 464.1 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.4026, allocations: 3.875 kB / 464.1 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.4027, allocations: 30.45 kB / 464.1 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.4028, allocations: 0 / 464.1 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.4028, allocations: 2.531 kB / 464.1 MB, free: 36.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.032e-05/0.4028, allocations: 81.28 kB / 464.2 MB, free: 36.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4028, allocations: 0 / 464.2 MB, free: 36.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.403, allocations: 7.688 kB / 464.2 MB, free: 36.23 MB / 382.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 8.077e-05/0.4031, allocations: 105 kB / 464.3 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005/0.4036, allocations: 129.5 kB / 464.5 MB, free: 36.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4036, allocations: 0 / 464.5 MB, free: 36.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.4039, allocations: 59.55 kB / 464.5 MB, free: 36.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.4041, allocations: 9.547 kB / 464.5 MB, free: 36.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005797/0.4047, allocations: 216.2 kB / 464.7 MB, free: 36.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.084e-05/0.4048, allocations: 0.6778 MB / 465.4 MB, free: 35.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.626e-05/0.4049, allocations: 14.42 kB / 465.4 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.4049, allocations: 7.438 kB / 465.4 MB, free: 35.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4049, allocations: 0 / 465.4 MB, free: 35.3 MB / 382.1 MB Notification: Performance of Templates: time 0.002192/0.4071, allocations: 0.507 MB / 465.9 MB, free: 35.28 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: