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.0009391/0.0009391, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.0009549/0.000955, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4117/0.4117, allocations: 55.01 MB / 325.4 MB, free: 0.6719 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.0005554/0.0005555, allocations: 15.98 kB / 396.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4113, allocations: 60.72 MB / 457.4 MB, free: 37.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001175/0.4125, allocations: 0.9916 MB / 458.4 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000737/0.4132, allocations: 477.8 kB / 458.8 MB, free: 37.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.4133, allocations: 3.031 kB / 458.8 MB, free: 37.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.4133, allocations: 0 / 458.8 MB, free: 37.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.332e-05/0.4133, allocations: 3.938 kB / 458.8 MB, free: 37.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.4137, allocations: 104.6 kB / 458.9 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.538e-05/0.4138, allocations: 14.77 kB / 459 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.4138, allocations: 2.656 kB / 459 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.093e-05/0.4138, allocations: 13.83 kB / 459 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.4139, allocations: 5.75 kB / 459 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.4139, allocations: 0 / 459 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.4143, allocations: 342.9 kB / 459.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.4144, allocations: 8.391 kB / 459.3 MB, free: 37.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.4144, allocations: 32.3 kB / 459.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.4145, allocations: 90.08 kB / 459.4 MB, free: 37.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4145, allocations: 3.781 kB / 459.4 MB, free: 37.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4145, allocations: 0 / 459.4 MB, free: 37.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.4146, allocations: 1.875 kB / 459.4 MB, free: 37.81 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.0003158/0.4149, allocations: 338.1 kB / 459.8 MB, free: 37.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.4149, allocations: 8.719 kB / 459.8 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.415, allocations: 5.594 kB / 459.8 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.158e-05/0.415, allocations: 175.9 kB / 460 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4151, allocations: 3.844 kB / 460 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.4151, allocations: 2.016 kB / 460 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.4161, allocations: 234 kB / 460.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4162, allocations: 0 / 460.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.4162, allocations: 0.5 kB / 460.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4162, allocations: 2.938 kB / 460.2 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008882/0.4171, allocations: 213.8 kB / 460.4 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.4174, allocations: 261.2 kB / 460.7 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.4184, allocations: 240.7 kB / 460.9 MB, free: 36.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.4185, allocations: 19.27 kB / 460.9 MB, free: 36.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004535/0.419, allocations: 229.1 kB / 461.1 MB, free: 36.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.419, allocations: 34.03 kB / 461.2 MB, free: 36.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.419, allocations: 4.781 kB / 461.2 MB, free: 36.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.001833/0.4208, allocations: 443.8 kB / 461.6 MB, free: 36.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.4209, allocations: 51.41 kB / 461.7 MB, free: 36.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.421, allocations: 102 kB / 461.8 MB, free: 36.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.421, allocations: 25.7 kB / 461.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.421, allocations: 80.14 kB / 461.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.421, allocations: 14.41 kB / 461.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.4211, allocations: 0 / 461.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.008e-05/0.4211, allocations: 317.7 kB / 462.2 MB, free: 36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.4214, allocations: 64.59 kB / 462.3 MB, free: 36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.4216, allocations: 68.52 kB / 462.3 MB, free: 35.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.4218, allocations: 62.8 kB / 462.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4218, allocations: 0 / 462.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004375/0.4223, allocations: 155.8 kB / 462.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4223, allocations: 5.812 kB / 462.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4223, allocations: 3.75 kB / 462.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.4223, allocations: 3.953 kB / 462.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.4225, allocations: 43.42 kB / 462.6 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.4225, allocations: 0 / 462.6 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.4227, allocations: 40.42 kB / 462.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.4227, allocations: 0 / 462.6 MB, free: 35.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.929e-05/0.4228, allocations: 108.8 kB / 462.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.4228, allocations: 1.078 kB / 462.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.4229, allocations: 9.719 kB / 462.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4229, allocations: 0 / 462.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4229, allocations: 3.953 kB / 462.7 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4229, allocations: 8.172 kB / 462.8 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.423, allocations: 167.9 kB / 462.9 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.423, allocations: 0 / 462.9 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.4232, allocations: 31.44 kB / 463 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4232, allocations: 0 / 463 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.4232, allocations: 1.5 kB / 463 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4232, allocations: 6.656 kB / 463 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4232, allocations: 1.719 kB / 463 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.4237, allocations: 253.4 kB / 463.2 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.4237, allocations: 84.3 kB / 463.3 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.4238, allocations: 2.75 kB / 463.3 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.4239, allocations: 27.44 kB / 463.3 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.407e-05/0.4239, allocations: 0 / 463.3 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.4239, allocations: 2.594 kB / 463.3 MB, free: 35.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.666e-05/0.424, allocations: 89.11 kB / 463.4 MB, free: 35.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.424, allocations: 0 / 463.4 MB, free: 35.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.4242, allocations: 7.781 kB / 463.4 MB, free: 35.26 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 (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.0001052/0.4243, allocations: 99.5 kB / 463.5 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.4248, allocations: 127.4 kB / 463.6 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4248, allocations: 0 / 463.6 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.425, allocations: 62.59 kB / 463.7 MB, free: 35.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.4252, allocations: 10.7 kB / 463.7 MB, free: 35.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005746/0.4258, allocations: 212.4 kB / 463.9 MB, free: 35.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.4259, allocations: 0.6781 MB / 464.6 MB, free: 34.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.444e-05/0.426, allocations: 11.64 kB / 464.6 MB, free: 34.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.4261, allocations: 13.59 kB / 464.6 MB, free: 34.33 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4261, allocations: 3.938 kB / 464.6 MB, free: 34.33 MB / 382.1 MB Notification: Performance of Templates: time 0.002465/0.4285, allocations: 0.4895 MB / 465.1 MB, free: 34.31 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: