Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 108 kB / 15.6 MB, free: 132 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.001441/0.001441, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.405/1.405, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3963/0.3963, allocations: 54.95 MB / 324.7 MB, free: 15.91 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.001464/0.001464, allocations: 67.89 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1576, allocations: 59.6 MB / 454.9 MB, free: 160 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.2378/0.3955, allocations: 1.227 MB / 456.2 MB, free: 39.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007672/0.3963, allocations: 0.5013 MB / 456.7 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.3963, allocations: 0 / 456.7 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.3963, allocations: 0 / 456.7 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.753e-05/0.3964, allocations: 6.516 kB / 456.7 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.3969, allocations: 116.7 kB / 456.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.283e-05/0.397, allocations: 16.52 kB / 456.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.397, allocations: 0 / 456.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.397, allocations: 2.594 kB / 456.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.74e-05/0.3971, allocations: 11.06 kB / 456.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3971, allocations: 0 / 456.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005167/0.3976, allocations: 351.2 kB / 457.2 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.3977, allocations: 0.5625 kB / 457.2 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.3977, allocations: 2.781 kB / 457.2 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.398, allocations: 142.4 kB / 457.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.398, allocations: 0 / 457.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.398, allocations: 0 / 457.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.398, allocations: 0 / 457.3 MB, free: 38.86 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.0003303/0.3984, allocations: 342.5 kB / 457.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.3984, allocations: 15.47 kB / 457.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.3984, allocations: 0.9375 kB / 457.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.954e-05/0.3985, allocations: 163.9 kB / 457.8 MB, free: 38.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3985, allocations: 384 / 457.8 MB, free: 38.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.3985, allocations: 4.281 kB / 457.8 MB, free: 38.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.3994, allocations: 157.4 kB / 458 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3994, allocations: 1.547 kB / 458 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3994, allocations: 3.938 kB / 458 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3995, allocations: 0.75 kB / 458 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006734/0.4001, allocations: 123.5 kB / 458.1 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.4003, allocations: 157.8 kB / 458.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/0.401, allocations: 147.2 kB / 458.4 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.401, allocations: 11.14 kB / 458.4 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.4013, allocations: 108.5 kB / 458.5 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.4013, allocations: 37.75 kB / 458.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4013, allocations: 0 / 458.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.001348/0.4027, allocations: 285.1 kB / 458.8 MB, free: 37.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.4027, allocations: 51.41 kB / 458.9 MB, free: 37.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.4027, allocations: 102.2 kB / 459 MB, free: 37.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.4028, allocations: 25.7 kB / 459 MB, free: 37.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.655e-05/0.4028, allocations: 84.11 kB / 459.1 MB, free: 37.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.4028, allocations: 4.531 kB / 459.1 MB, free: 37.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.4029, allocations: 9.719 kB / 459.1 MB, free: 37.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.4029, allocations: 315.5 kB / 459.4 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.4031, allocations: 36.95 kB / 459.4 MB, free: 37.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.4032, allocations: 40.55 kB / 459.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.4035, allocations: 71.38 kB / 459.5 MB, free: 37.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4035, allocations: 2.531 kB / 459.5 MB, free: 37.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002982/0.4038, allocations: 99.17 kB / 459.6 MB, free: 37.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4039, allocations: 5.594 kB / 459.7 MB, free: 37.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4039, allocations: 7.969 kB / 459.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.4039, allocations: 4.016 kB / 459.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/0.4061, allocations: 416.2 kB / 460.1 MB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003434/0.4096, allocations: 1.926 MB / 462 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.507e-05/0.4097, allocations: 23.81 kB / 462 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.4097, allocations: 2.938 kB / 462 MB, free: 35.71 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 6.125e-05/0.4098, allocations: 113.6 kB / 462.1 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.4098, allocations: 2.906 kB / 462.1 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.248e-05/0.4098, allocations: 3.125 kB / 462.1 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.4098, allocations: 0 / 462.1 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.11e-07/0.4098, allocations: 0 / 462.1 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4098, allocations: 7.281 kB / 462.1 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.251e-05/0.4099, allocations: 163.3 kB / 462.3 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4099, allocations: 0 / 462.3 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/0.4122, allocations: 420.3 kB / 462.7 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4122, allocations: 3.328 kB / 462.7 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.4122, allocations: 1.406 kB / 462.7 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003291/0.4155, allocations: 1.937 MB / 464.7 MB, free: 33.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4155, allocations: 0 / 464.7 MB, free: 33.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.4158, allocations: 120.3 kB / 464.8 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.4159, allocations: 83.89 kB / 464.9 MB, free: 33.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.4159, allocations: 3.938 kB / 464.9 MB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.416, allocations: 22.97 kB / 464.9 MB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.416, allocations: 2.875 kB / 464.9 MB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.416, allocations: 0.6875 kB / 464.9 MB, free: 33.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.307e-05/0.4161, allocations: 81.55 kB / 465 MB, free: 33.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4161, allocations: 0 / 465 MB, free: 33.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.4163, allocations: 8.875 kB / 465 MB, free: 33.66 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 9.72e-05/0.4164, allocations: 102.1 kB / 465.1 MB, free: 33.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.419, allocations: 0.4904 MB / 465.6 MB, free: 33.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.419, allocations: 0 / 465.6 MB, free: 33.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00388/0.4229, allocations: 0.648 MB / 466.2 MB, free: 33.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.4231, allocations: 7.344 kB / 466.2 MB, free: 33.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.4262, allocations: 0.7036 MB / 466.9 MB, free: 33.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.055e-05/0.4263, allocations: 0.6718 MB / 467.6 MB, free: 32.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.694e-05/0.4263, allocations: 7 kB / 467.6 MB, free: 32.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.4264, allocations: 7.438 kB / 467.6 MB, free: 32.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4264, allocations: 2.969 kB / 467.6 MB, free: 32.64 MB / 382.1 MB Notification: Performance of Templates: time 0.002486/0.4289, allocations: 0.5336 MB / 468.1 MB, free: 32.62 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)