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.006267/0.006267, allocations: 99.53 kB / 15.73 MB, free: 6.051 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.001206/0.001207, allocations: 197.2 kB / 16.67 MB, free: 5.977 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.43/1.43, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4042/0.4042, allocations: 54.95 MB / 324.9 MB, free: 15.99 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.001763/0.001763, allocations: 69.31 kB / 456.2 MB, free: 38.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1392, allocations: 59.59 MB / 0.5037 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00249/0.1418, allocations: 1.228 MB / 0.5049 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009101/0.1427, allocations: 0.5102 MB / 0.5054 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.1428, allocations: 1.25 kB / 0.5054 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.1428, allocations: 0 / 0.5054 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.234e-05/0.1429, allocations: 3.984 kB / 0.5054 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007299/0.1436, allocations: 119.7 kB / 0.5055 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.1437, allocations: 8.875 kB / 0.5055 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.518e-05/0.1438, allocations: 5.328 kB / 0.5055 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.23e-05/0.1438, allocations: 6.141 kB / 0.5055 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.727e-05/0.1439, allocations: 5.5 kB / 0.5055 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1439, allocations: 1.469 kB / 0.5056 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007131/0.1446, allocations: 347.5 kB / 0.5059 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.1446, allocations: 0 / 0.5059 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.1447, allocations: 5.344 kB / 0.5059 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.145, allocations: 133.4 kB / 0.506 GB, free: 8.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1451, allocations: 0 / 0.506 GB, free: 8.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1451, allocations: 1.25 kB / 0.506 GB, free: 8.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1451, allocations: 0 / 0.506 GB, free: 8.172 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.0004041/0.1455, allocations: 342.7 kB / 0.5063 GB, free: 7.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1455, allocations: 9.5 kB / 0.5064 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.1456, allocations: 6.094 kB / 0.5064 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.13e-05/0.1457, allocations: 165.8 kB / 0.5065 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.1457, allocations: 384 / 0.5065 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1457, allocations: 5.625 kB / 0.5065 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.1462, allocations: 84.58 kB / 0.5066 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1462, allocations: 4.125 kB / 0.5066 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1462, allocations: 3.938 kB / 0.5066 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1463, allocations: 1.375 kB / 0.5066 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.1466, allocations: 56.92 kB / 0.5067 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.1468, allocations: 148.4 kB / 0.5068 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.1472, allocations: 83.62 kB / 0.5069 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.1472, allocations: 7.609 kB / 0.5069 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/0.1475, allocations: 105.5 kB / 0.507 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1475, allocations: 39.86 kB / 0.507 GB, free: 7.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/0.1475, allocations: 0 / 0.507 GB, free: 7.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008161/0.1483, allocations: 153 kB / 0.5072 GB, free: 7.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.1484, allocations: 55.44 kB / 0.5072 GB, free: 6.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.1484, allocations: 96.59 kB / 0.5073 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.425e-06/0.1484, allocations: 25.7 kB / 0.5073 GB, free: 6.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.531e-05/0.1485, allocations: 81.52 kB / 0.5074 GB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1485, allocations: 7.844 kB / 0.5074 GB, free: 6.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.1485, allocations: 16.47 kB / 0.5074 GB, free: 6.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.1486, allocations: 312.2 kB / 0.5077 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.505e-05/0.1487, allocations: 23.09 kB / 0.5078 GB, free: 6.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.963e-05/0.1488, allocations: 18.98 kB / 0.5078 GB, free: 6.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1489, allocations: 48.45 kB / 0.5078 GB, free: 6.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1489, allocations: 0 / 0.5078 GB, free: 6.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002048/0.1491, allocations: 67.58 kB / 0.5079 GB, free: 6.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1492, allocations: 5.062 kB / 0.5079 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1492, allocations: 5.219 kB / 0.5079 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1492, allocations: 0 / 0.5079 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.1507, allocations: 221.2 kB / 0.5081 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.1531, allocations: 1.652 MB / 0.5097 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.23e-05/0.1532, allocations: 8.016 kB / 0.5097 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1532, allocations: 4 kB / 0.5097 GB, free: 4.465 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.269e-05/0.1533, allocations: 109.8 kB / 0.5098 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.1533, allocations: 0 / 0.5098 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.482e-05/0.1533, allocations: 11.19 kB / 0.5099 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1533, allocations: 7.984 kB / 0.5099 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.1533, allocations: 7.984 kB / 0.5099 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1533, allocations: 0 / 0.5099 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.725e-05/0.1534, allocations: 157.5 kB / 0.51 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1534, allocations: 0 / 0.51 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/0.1548, allocations: 223.8 kB / 0.5102 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1548, allocations: 3.984 kB / 0.5102 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1548, allocations: 0 / 0.5102 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.1571, allocations: 1.65 MB / 0.5119 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1571, allocations: 3.938 kB / 0.5119 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.1573, allocations: 101.1 kB / 0.512 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.1574, allocations: 77.11 kB / 0.512 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.1574, allocations: 7.938 kB / 0.512 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.91e-05/0.1574, allocations: 7.984 kB / 0.512 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.1575, allocations: 0 / 0.512 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1575, allocations: 4.031 kB / 0.512 GB, free: 1.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.435e-05/0.1575, allocations: 79.28 kB / 0.5121 GB, free: 1.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1575, allocations: 3.938 kB / 0.5121 GB, free: 1.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002132/0.1578, allocations: 12 kB / 0.5121 GB, free: 1.777 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.0001043/0.1579, allocations: 95.25 kB / 0.5122 GB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.1595, allocations: 267.8 kB / 0.5125 GB, free: 1.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1595, allocations: 4 kB / 0.5125 GB, free: 1.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00259/0.1621, allocations: 407.5 kB / 0.5129 GB, free: 1.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.1623, allocations: 0 / 0.5129 GB, free: 1.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.1645, allocations: 445.6 kB / 0.5133 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.1647, allocations: 0.6729 MB / 0.514 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.031e-05/0.1647, allocations: 4 kB / 0.514 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.1648, allocations: 7.438 kB / 0.514 GB, free: 15.84 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1648, allocations: 0 / 0.514 GB, free: 15.84 MB / 398.1 MB Notification: Performance of Templates: time 0.002659/0.1674, allocations: 0.5093 MB / 0.5145 GB, free: 15.34 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)