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.001758/0.001758, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.444/1.444, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3801/0.3801, allocations: 54.95 MB / 324.7 MB, free: 15.88 MB / 270.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.003174/0.003175, allocations: 75.89 kB / 395.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1512, allocations: 59.6 MB / 454.9 MB, free: 140 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.2468/0.3981, allocations: 1.226 MB / 456.2 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008654/0.399, allocations: 0.5052 MB / 456.7 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.365e-05/0.399, allocations: 0 / 456.7 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.3991, allocations: 0 / 456.7 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.059e-05/0.3991, allocations: 2.469 kB / 456.7 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.3996, allocations: 120.3 kB / 456.8 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.903e-05/0.3996, allocations: 13.08 kB / 456.8 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.3997, allocations: 0 / 456.8 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.213e-05/0.3997, allocations: 6.734 kB / 456.8 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.3998, allocations: 10.31 kB / 456.8 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.3998, allocations: 0 / 456.8 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004908/0.4003, allocations: 345 kB / 457.2 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.4003, allocations: 0 / 457.2 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.4003, allocations: 8.672 kB / 457.2 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.4006, allocations: 138.2 kB / 457.3 MB, free: 38.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4006, allocations: 0.6562 kB / 457.3 MB, free: 38.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4006, allocations: 0.6875 kB / 457.3 MB, free: 38.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.4006, allocations: 0 / 457.3 MB, free: 38.87 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.000367/0.401, allocations: 340.1 kB / 457.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.401, allocations: 9.906 kB / 457.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.4011, allocations: 3.969 kB / 457.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.062e-05/0.4011, allocations: 165 kB / 457.8 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.4012, allocations: 8.469 kB / 457.8 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.4012, allocations: 384 / 457.8 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.4017, allocations: 81.09 kB / 457.9 MB, free: 38.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4017, allocations: 1.688 kB / 457.9 MB, free: 38.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4018, allocations: 6.781 kB / 457.9 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.4018, allocations: 0.75 kB / 457.9 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.4021, allocations: 58.12 kB / 458 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.4023, allocations: 156 kB / 458.1 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.4027, allocations: 73.92 kB / 458.2 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.4027, allocations: 13.3 kB / 458.2 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/0.403, allocations: 106.9 kB / 458.3 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.403, allocations: 33.47 kB / 458.3 MB, free: 37.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.4031, allocations: 0.625 kB / 458.3 MB, free: 37.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008299/0.4039, allocations: 156.9 kB / 458.5 MB, free: 37.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.4039, allocations: 51.41 kB / 458.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.597e-05/0.404, allocations: 96.03 kB / 458.6 MB, free: 37.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.404, allocations: 28.73 kB / 458.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.83e-05/0.404, allocations: 80.14 kB / 458.7 MB, free: 37.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.4041, allocations: 8.031 kB / 458.7 MB, free: 37.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.4041, allocations: 13.16 kB / 458.8 MB, free: 37.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.4041, allocations: 316.9 kB / 459.1 MB, free: 37.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-05/0.4042, allocations: 18.38 kB / 459.1 MB, free: 37.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.891e-05/0.4043, allocations: 24.12 kB / 459.1 MB, free: 37.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.4045, allocations: 41.27 kB / 459.1 MB, free: 37.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4045, allocations: 0 / 459.1 MB, free: 37.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002107/0.4047, allocations: 70.86 kB / 459.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4048, allocations: 9 kB / 459.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4048, allocations: 7.125 kB / 459.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4048, allocations: 0 / 459.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.4062, allocations: 215.4 kB / 459.4 MB, free: 37.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.4086, allocations: 1.653 MB / 461.1 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.4087, allocations: 13.97 kB / 461.1 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.4087, allocations: 3.562 kB / 461.1 MB, free: 35.78 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.502e-05/0.4088, allocations: 112.3 kB / 461.2 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.4088, allocations: 6.75 kB / 461.2 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.294e-05/0.4088, allocations: 9.625 kB / 461.2 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.4088, allocations: 0 / 461.2 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.01e-07/0.4088, allocations: 0 / 461.2 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4088, allocations: 4 kB / 461.2 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.569e-05/0.4089, allocations: 158 kB / 461.4 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4089, allocations: 1.062 kB / 461.4 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/0.4103, allocations: 221.2 kB / 461.6 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4104, allocations: 2.969 kB / 461.6 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.4104, allocations: 0 / 461.6 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/0.4126, allocations: 1.664 MB / 463.3 MB, free: 34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4127, allocations: 0 / 463.3 MB, free: 34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.4129, allocations: 97.92 kB / 463.4 MB, free: 33.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.4129, allocations: 82.98 kB / 463.5 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.4129, allocations: 6.531 kB / 463.5 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.748e-05/0.413, allocations: 6.125 kB / 463.5 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.413, allocations: 2.5 kB / 463.5 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.413, allocations: 0 / 463.5 MB, free: 33.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.215e-05/0.4131, allocations: 82.25 kB / 463.6 MB, free: 33.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4131, allocations: 3.938 kB / 463.6 MB, free: 33.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.4133, allocations: 8.5 kB / 463.6 MB, free: 33.75 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.0001224/0.4134, allocations: 103.3 kB / 463.7 MB, free: 33.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.4151, allocations: 266.8 kB / 463.9 MB, free: 33.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4151, allocations: 4.062 kB / 463.9 MB, free: 33.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002533/0.4176, allocations: 404 kB / 464.3 MB, free: 33.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.4178, allocations: 0 / 464.3 MB, free: 33.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.42, allocations: 431 kB / 464.7 MB, free: 33.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.4201, allocations: 0.6722 MB / 465.4 MB, free: 32.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.104e-05/0.4202, allocations: 7 kB / 465.4 MB, free: 32.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.836e-05/0.4202, allocations: 10.38 kB / 465.4 MB, free: 32.8 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4202, allocations: 0 / 465.4 MB, free: 32.8 MB / 382.1 MB Notification: Performance of Templates: time 0.002428/0.4226, allocations: 487.6 kB / 465.9 MB, free: 32.78 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)