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.005007/0.005007, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001137/0.001137, allocations: 192.4 kB / 16.67 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.425/1.425, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3861/0.3861, allocations: 54.95 MB / 324.9 MB, free: 15.89 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.001506/0.001506, allocations: 64.92 kB / 456.2 MB, free: 38.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1427, allocations: 59.59 MB / 0.5037 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002201/0.1449, allocations: 1.238 MB / 0.5049 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007882/0.1457, allocations: 0.4957 MB / 0.5054 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.1458, allocations: 0 / 0.5054 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.1458, allocations: 0 / 0.5054 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.627e-05/0.1459, allocations: 13.28 kB / 0.5054 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.1463, allocations: 115.2 kB / 0.5055 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.279e-05/0.1464, allocations: 11.95 kB / 0.5055 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.461e-05/0.1464, allocations: 2.688 kB / 0.5055 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.1465, allocations: 1.344 kB / 0.5055 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.219e-05/0.1465, allocations: 10.61 kB / 0.5056 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1465, allocations: 4 kB / 0.5056 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004899/0.147, allocations: 351.1 kB / 0.5059 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.1471, allocations: 0 / 0.5059 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.1471, allocations: 2.781 kB / 0.5059 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.1473, allocations: 124.6 kB / 0.506 GB, free: 7.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1474, allocations: 5.469 kB / 0.506 GB, free: 7.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1474, allocations: 3.938 kB / 0.506 GB, free: 7.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1474, allocations: 0 / 0.506 GB, free: 7.738 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.0004015/0.1478, allocations: 342.5 kB / 0.5064 GB, free: 7.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1478, allocations: 13.12 kB / 0.5064 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.1479, allocations: 5.906 kB / 0.5064 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.549e-05/0.148, allocations: 161.5 kB / 0.5065 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.148, allocations: 1.438 kB / 0.5065 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.485e-06/0.148, allocations: 5.5 kB / 0.5065 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008694/0.1489, allocations: 154.6 kB / 0.5067 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1489, allocations: 1.531 kB / 0.5067 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.1489, allocations: 3.938 kB / 0.5067 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1489, allocations: 4 kB / 0.5067 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/0.1496, allocations: 129.3 kB / 0.5068 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.1498, allocations: 152.5 kB / 0.507 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007067/0.1505, allocations: 146.5 kB / 0.5071 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.1505, allocations: 10.14 kB / 0.5071 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.1508, allocations: 113.1 kB / 0.5072 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.1509, allocations: 31.81 kB / 0.5072 GB, free: 6.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1509, allocations: 0 / 0.5072 GB, free: 6.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.00139/0.1523, allocations: 287.4 kB / 0.5075 GB, free: 6.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.1523, allocations: 55.41 kB / 0.5076 GB, free: 6.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.062e-05/0.1524, allocations: 96.64 kB / 0.5077 GB, free: 6.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.1524, allocations: 25.7 kB / 0.5077 GB, free: 6.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.383e-05/0.1524, allocations: 81.52 kB / 0.5078 GB, free: 6.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1524, allocations: 9.219 kB / 0.5078 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.1525, allocations: 19.08 kB / 0.5078 GB, free: 6.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.714e-05/0.1525, allocations: 312.2 kB / 0.5081 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.1527, allocations: 36.66 kB / 0.5081 GB, free: 5.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1528, allocations: 37.97 kB / 0.5082 GB, free: 5.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.1531, allocations: 71.48 kB / 0.5082 GB, free: 5.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1531, allocations: 0 / 0.5082 GB, free: 5.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003033/0.1534, allocations: 100.4 kB / 0.5083 GB, free: 5.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1534, allocations: 5.5 kB / 0.5083 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1535, allocations: 3.938 kB / 0.5083 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1535, allocations: 5.406 kB / 0.5083 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/0.1558, allocations: 409.5 kB / 0.5087 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/0.1591, allocations: 1.931 MB / 0.5106 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.513e-05/0.1592, allocations: 12.02 kB / 0.5106 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1593, allocations: 4.062 kB / 0.5106 GB, free: 3.512 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.424e-05/0.1593, allocations: 113.8 kB / 0.5107 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.1593, allocations: 3.984 kB / 0.5107 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.297e-05/0.1594, allocations: 11.11 kB / 0.5108 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1594, allocations: 3.938 kB / 0.5108 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.1594, allocations: 0 / 0.5108 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1594, allocations: 7.938 kB / 0.5108 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.256e-05/0.1594, allocations: 165.5 kB / 0.5109 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1595, allocations: 0 / 0.5109 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/0.1617, allocations: 419.5 kB / 0.5113 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1617, allocations: 0 / 0.5113 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.1617, allocations: 4 kB / 0.5113 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00328/0.165, allocations: 1.927 MB / 0.5132 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.165, allocations: 7.969 kB / 0.5132 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.1654, allocations: 121.1 kB / 0.5133 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.1654, allocations: 85.09 kB / 0.5134 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.1654, allocations: 7.938 kB / 0.5134 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.1655, allocations: 11.98 kB / 0.5134 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.1655, allocations: 8.031 kB / 0.5134 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1655, allocations: 0 / 0.5134 GB, free: 408 kB / 382.1 MB Notification: Performance of sorting global known variables: time 2.263e-05/0.1656, allocations: 79.27 kB / 0.5135 GB, free: 328 kB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1656, allocations: 0 / 0.5135 GB, free: 328 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.1658, allocations: 12 kB / 0.5135 GB, free: 316 kB / 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.118e-05/0.1659, allocations: 98 kB / 0.5136 GB, free: 208 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002748/0.1687, allocations: 0.4917 MB / 0.5141 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.1687, allocations: 0 / 0.5141 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00403/0.1727, allocations: 0.6517 MB / 0.5147 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.1729, allocations: 0 / 0.5147 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.1763, allocations: 0.7161 MB / 0.5154 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1767, allocations: 0.6729 MB / 0.5161 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.703e-05/0.1767, allocations: 3.984 kB / 0.5161 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.1767, allocations: 7.438 kB / 0.5161 GB, free: 13.61 MB / 398.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1767, allocations: 0 / 0.5161 GB, free: 13.61 MB / 398.1 MB Notification: Performance of Templates: time 0.002981/0.1797, allocations: 0.5477 MB / 0.5166 GB, free: 13.07 MB / 398.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)