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.009166/0.009166, allocations: 100 kB / 15.73 MB, free: 5.965 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.001998/0.001998, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.442/1.442, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3919/0.3919, allocations: 54.94 MB / 324.9 MB, free: 15.94 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.0015/0.0015, allocations: 71.78 kB / 456.2 MB, free: 38.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1416, allocations: 59.59 MB / 0.5037 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003043/0.1447, allocations: 1.214 MB / 0.5049 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009434/0.1457, allocations: 0.5115 MB / 0.5054 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.1458, allocations: 1.156 kB / 0.5054 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.1458, allocations: 0 / 0.5054 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.825e-05/0.1459, allocations: 7.938 kB / 0.5054 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.1464, allocations: 115.7 kB / 0.5055 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.657e-05/0.1465, allocations: 16.64 kB / 0.5055 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.1465, allocations: 1.5 kB / 0.5055 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.503e-05/0.1465, allocations: 2.375 kB / 0.5055 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.1466, allocations: 5.344 kB / 0.5055 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1466, allocations: 5.25 kB / 0.5056 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005477/0.1472, allocations: 355.3 kB / 0.5059 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.1472, allocations: 0 / 0.5059 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.1472, allocations: 1.312 kB / 0.5059 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.1475, allocations: 125.6 kB / 0.506 GB, free: 7.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1475, allocations: 1.188 kB / 0.506 GB, free: 7.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1475, allocations: 0 / 0.506 GB, free: 7.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.1476, allocations: 0 / 0.506 GB, free: 7.906 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.0004268/0.148, allocations: 343.2 kB / 0.5063 GB, free: 7.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.148, allocations: 12.59 kB / 0.5064 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.1481, allocations: 6.156 kB / 0.5064 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1482, allocations: 165.8 kB / 0.5065 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1482, allocations: 384 / 0.5065 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.1482, allocations: 1.625 kB / 0.5065 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/0.1488, allocations: 88.39 kB / 0.5066 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1488, allocations: 192 / 0.5066 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1488, allocations: 5.312 kB / 0.5066 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1489, allocations: 4 kB / 0.5066 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/0.1492, allocations: 62.3 kB / 0.5067 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.1494, allocations: 148.4 kB / 0.5068 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.1498, allocations: 79.62 kB / 0.5069 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.1499, allocations: 10.17 kB / 0.5069 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.1502, allocations: 109.5 kB / 0.507 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1502, allocations: 43.88 kB / 0.507 GB, free: 6.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.1502, allocations: 0 / 0.507 GB, free: 6.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008114/0.151, allocations: 145.1 kB / 0.5072 GB, free: 6.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.1511, allocations: 51.41 kB / 0.5072 GB, free: 6.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.226e-05/0.1511, allocations: 96.59 kB / 0.5073 GB, free: 6.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.1511, allocations: 27.08 kB / 0.5074 GB, free: 6.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.371e-05/0.1512, allocations: 80.14 kB / 0.5074 GB, free: 6.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.1512, allocations: 17.38 kB / 0.5074 GB, free: 6.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.1512, allocations: 12.47 kB / 0.5075 GB, free: 6.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.765e-05/0.1513, allocations: 310.8 kB / 0.5078 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.53e-05/0.1514, allocations: 26.91 kB / 0.5078 GB, free: 6.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.364e-05/0.1515, allocations: 20.36 kB / 0.5078 GB, free: 6.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1516, allocations: 42.89 kB / 0.5078 GB, free: 6.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1516, allocations: 0 / 0.5078 GB, free: 6.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002063/0.1519, allocations: 65.17 kB / 0.5079 GB, free: 6.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1519, allocations: 5.5 kB / 0.5079 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1519, allocations: 7.969 kB / 0.5079 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1519, allocations: 3.984 kB / 0.5079 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.1533, allocations: 213.4 kB / 0.5081 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/0.1561, allocations: 1.652 MB / 0.5097 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.1561, allocations: 8.766 kB / 0.5097 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1562, allocations: 9.203 kB / 0.5098 GB, free: 4.352 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 0.0001156/0.1563, allocations: 111.2 kB / 0.5099 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.1563, allocations: 1.469 kB / 0.5099 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.266e-05/0.1563, allocations: 7.125 kB / 0.5099 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1563, allocations: 3.984 kB / 0.5099 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.1563, allocations: 1.5 kB / 0.5099 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1564, allocations: 0 / 0.5099 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.1565, allocations: 161.6 kB / 0.51 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1565, allocations: 3.938 kB / 0.51 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/0.1578, allocations: 226.3 kB / 0.5102 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1579, allocations: 0 / 0.5102 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.1579, allocations: 8 kB / 0.5103 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.16, allocations: 1.646 MB / 0.5119 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.16, allocations: 7.875 kB / 0.5119 GB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.1602, allocations: 93.19 kB / 0.512 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.1603, allocations: 77.11 kB / 0.512 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.1603, allocations: 7.969 kB / 0.512 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.855e-05/0.1604, allocations: 11.98 kB / 0.512 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.1604, allocations: 0 / 0.512 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.1604, allocations: 0 / 0.512 GB, free: 1.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.665e-05/0.1604, allocations: 83.28 kB / 0.5121 GB, free: 1.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1605, allocations: 3.938 kB / 0.5121 GB, free: 1.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002061/0.1607, allocations: 8 kB / 0.5121 GB, free: 1.754 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.775e-05/0.1608, allocations: 99.34 kB / 0.5122 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.1623, allocations: 267.6 kB / 0.5125 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1623, allocations: 0 / 0.5125 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002434/0.1648, allocations: 403.6 kB / 0.5129 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.165, allocations: 4 kB / 0.5129 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1671, allocations: 449.6 kB / 0.5133 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.1673, allocations: 0.6729 MB / 0.514 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.14e-05/0.1673, allocations: 0 / 0.514 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.1673, allocations: 7.438 kB / 0.514 GB, free: 15.81 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1673, allocations: 0 / 0.514 GB, free: 15.81 MB / 398.1 MB Notification: Performance of Templates: time 0.002535/0.1699, allocations: 0.4971 MB / 0.5145 GB, free: 15.32 MB / 398.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)