Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001236/0.001236, allocations: 189 kB / 16.25 MB, free: 6.625 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.368/1.368, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3925/0.3925, allocations: 54.94 MB / 324.4 MB, free: 152 kB / 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.00159/0.00159, allocations: 71.91 kB / 394.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1427, allocations: 59.59 MB / 454.4 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.2484/0.3912, allocations: 1.293 MB / 455.7 MB, free: 38.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007934/0.392, allocations: 0.5008 MB / 456.2 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.205e-05/0.3921, allocations: 0 / 456.2 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.3921, allocations: 3.812 kB / 456.2 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.3922, allocations: 3.375 kB / 456.2 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.3926, allocations: 103 kB / 456.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.853e-05/0.3927, allocations: 8.656 kB / 456.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.3927, allocations: 5.828 kB / 456.4 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.3928, allocations: 5.812 kB / 456.4 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.3928, allocations: 1.75 kB / 456.4 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.3928, allocations: 0 / 456.4 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.3932, allocations: 349.8 kB / 456.7 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.3933, allocations: 8.922 kB / 456.7 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.3933, allocations: 2.531 kB / 456.7 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.3935, allocations: 131.5 kB / 456.8 MB, free: 38.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3935, allocations: 2.594 kB / 456.8 MB, free: 38.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3935, allocations: 0 / 456.8 MB, free: 38.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3935, allocations: 0 / 456.8 MB, free: 38.68 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003089/0.3938, allocations: 342.7 kB / 457.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3939, allocations: 9.25 kB / 457.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.3939, allocations: 3.875 kB / 457.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.294e-05/0.394, allocations: 165.4 kB / 457.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.394, allocations: 0.875 kB / 457.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.394, allocations: 7.875 kB / 457.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.3945, allocations: 83.91 kB / 457.4 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3945, allocations: 2.156 kB / 457.4 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3945, allocations: 4.5 kB / 457.5 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3945, allocations: 2.875 kB / 457.5 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.3949, allocations: 59.92 kB / 457.5 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.395, allocations: 156.6 kB / 457.7 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.3954, allocations: 75.62 kB / 457.7 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.3954, allocations: 7.672 kB / 457.7 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.3957, allocations: 105.3 kB / 457.8 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.3957, allocations: 35.97 kB / 457.9 MB, free: 37.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3957, allocations: 0 / 457.9 MB, free: 37.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007341/0.3964, allocations: 158.2 kB / 458 MB, free: 37.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.3965, allocations: 51.41 kB / 458.1 MB, free: 37.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.961e-05/0.3965, allocations: 92.67 kB / 458.2 MB, free: 37.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.597e-06/0.3966, allocations: 26.27 kB / 458.2 MB, free: 37.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.816e-05/0.3966, allocations: 83.48 kB / 458.3 MB, free: 37.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.3966, allocations: 5.188 kB / 458.3 MB, free: 37.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.3967, allocations: 19.17 kB / 458.3 MB, free: 37.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.3967, allocations: 310.8 kB / 458.6 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.974e-05/0.3968, allocations: 22.45 kB / 458.6 MB, free: 37.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.3969, allocations: 22.77 kB / 458.7 MB, free: 37.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3971, allocations: 42.33 kB / 458.7 MB, free: 37.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3971, allocations: 0.8438 kB / 458.7 MB, free: 37.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001863/0.3973, allocations: 71.92 kB / 458.8 MB, free: 37.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3973, allocations: 7.5 kB / 458.8 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3973, allocations: 7.312 kB / 458.8 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3973, allocations: 2.688 kB / 458.8 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.3987, allocations: 213.5 kB / 459 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.4009, allocations: 1.655 MB / 460.7 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.401, allocations: 14.14 kB / 460.7 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.401, allocations: 4.031 kB / 460.7 MB, free: 35.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.791e-05/0.4011, allocations: 110.3 kB / 460.8 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-06/0.4011, allocations: 0.5625 kB / 460.8 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.434e-05/0.4011, allocations: 12.94 kB / 460.8 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.4011, allocations: 0 / 460.8 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.4011, allocations: 0 / 460.8 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.4011, allocations: 4 kB / 460.8 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.379e-05/0.4012, allocations: 159.5 kB / 461 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4012, allocations: 1.781 kB / 461 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.4025, allocations: 223.2 kB / 461.2 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4025, allocations: 2.969 kB / 461.2 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.4025, allocations: 6.562 kB / 461.2 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.4047, allocations: 1.653 MB / 462.8 MB, free: 33.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4047, allocations: 1.969 kB / 462.8 MB, free: 33.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.4049, allocations: 92.02 kB / 462.9 MB, free: 33.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.4049, allocations: 81.67 kB / 463 MB, free: 33.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.405, allocations: 9.516 kB / 463 MB, free: 33.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.314e-05/0.405, allocations: 8.156 kB / 463 MB, free: 33.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.405, allocations: 8.359 kB / 463 MB, free: 33.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.405, allocations: 0 / 463 MB, free: 33.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.205e-05/0.4051, allocations: 82.12 kB / 463.1 MB, free: 33.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4051, allocations: 0 / 463.1 MB, free: 33.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002078/0.4053, allocations: 7 kB / 463.1 MB, free: 33.57 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001104/0.4054, allocations: 100.8 kB / 463.2 MB, free: 33.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.4069, allocations: 267.6 kB / 463.5 MB, free: 33.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.407, allocations: 4.062 kB / 463.5 MB, free: 33.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002442/0.4094, allocations: 406.6 kB / 463.9 MB, free: 33.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.4096, allocations: 0 / 463.9 MB, free: 33.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.4117, allocations: 437.2 kB / 464.3 MB, free: 33.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.4119, allocations: 0.6749 MB / 465 MB, free: 32.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.978e-05/0.4119, allocations: 4 kB / 465 MB, free: 32.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.4119, allocations: 7.438 kB / 465 MB, free: 32.6 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4119, allocations: 0 / 465 MB, free: 32.6 MB / 382.1 MB Notification: Performance of Templates: time 0.002628/0.4145, allocations: 492.7 kB / 465.5 MB, free: 32.57 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)