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.006966/0.006966, allocations: 102 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.001661/0.001661, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.478/1.478, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3852/0.3852, allocations: 54.95 MB / 324.9 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.001541/0.001541, allocations: 71.38 kB / 456.2 MB, free: 38.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1357, allocations: 59.59 MB / 0.5037 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.0021/0.1378, allocations: 1.242 MB / 0.5049 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007425/0.1386, allocations: 0.4964 MB / 0.5054 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.1386, allocations: 4 kB / 0.5054 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.1386, allocations: 0 / 0.5054 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.59e-05/0.1387, allocations: 5.438 kB / 0.5054 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.1391, allocations: 122.5 kB / 0.5055 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.553e-05/0.1392, allocations: 5.281 kB / 0.5055 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.1392, allocations: 5.156 kB / 0.5055 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.836e-05/0.1393, allocations: 7.031 kB / 0.5055 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.1393, allocations: 5.234 kB / 0.5056 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1393, allocations: 1.25 kB / 0.5056 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.1398, allocations: 342.3 kB / 0.5059 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.1398, allocations: 3.938 kB / 0.5059 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.1398, allocations: 10.73 kB / 0.5059 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.14, allocations: 133.3 kB / 0.506 GB, free: 7.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1401, allocations: 0 / 0.506 GB, free: 7.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1401, allocations: 0 / 0.506 GB, free: 7.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1401, allocations: 1.375 kB / 0.506 GB, free: 7.938 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.0003225/0.1404, allocations: 346.5 kB / 0.5064 GB, free: 7.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1404, allocations: 9.625 kB / 0.5064 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.1405, allocations: 4.844 kB / 0.5064 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.495e-05/0.1406, allocations: 161.8 kB / 0.5065 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1406, allocations: 1.75 kB / 0.5065 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-06/0.1406, allocations: 384 / 0.5065 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.1411, allocations: 92.5 kB / 0.5066 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1411, allocations: 1.562 kB / 0.5066 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1411, allocations: 7.938 kB / 0.5066 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1411, allocations: 0 / 0.5066 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.1415, allocations: 58.25 kB / 0.5067 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.1416, allocations: 152.4 kB / 0.5068 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.142, allocations: 75.64 kB / 0.5069 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.1421, allocations: 7.609 kB / 0.5069 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/0.1423, allocations: 109.6 kB / 0.507 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1423, allocations: 30.56 kB / 0.507 GB, free: 6.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1423, allocations: 0 / 0.507 GB, free: 6.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007909/0.1431, allocations: 153 kB / 0.5072 GB, free: 6.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.1432, allocations: 52.78 kB / 0.5072 GB, free: 6.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.033e-05/0.1432, allocations: 96.61 kB / 0.5073 GB, free: 6.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.1433, allocations: 25.86 kB / 0.5073 GB, free: 6.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.57e-05/0.1433, allocations: 84.14 kB / 0.5074 GB, free: 6.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.1433, allocations: 13.2 kB / 0.5074 GB, free: 6.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.1433, allocations: 16.47 kB / 0.5075 GB, free: 6.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.1434, allocations: 310.8 kB / 0.5078 GB, free: 6.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.1435, allocations: 20.36 kB / 0.5078 GB, free: 6.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.411e-05/0.1436, allocations: 26.67 kB / 0.5078 GB, free: 6.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.1438, allocations: 44.67 kB / 0.5078 GB, free: 6.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1438, allocations: 0 / 0.5078 GB, free: 6.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002058/0.144, allocations: 79.45 kB / 0.5079 GB, free: 6.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.144, allocations: 5.812 kB / 0.5079 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.144, allocations: 3.938 kB / 0.5079 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.144, allocations: 0 / 0.5079 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.1455, allocations: 217.2 kB / 0.5081 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.1478, allocations: 1.652 MB / 0.5097 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.1479, allocations: 13.02 kB / 0.5098 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1479, allocations: 1.062 kB / 0.5098 GB, free: 4.383 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.714e-05/0.148, allocations: 110.9 kB / 0.5099 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.148, allocations: 1.406 kB / 0.5099 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.073e-05/0.148, allocations: 3.125 kB / 0.5099 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.148, allocations: 1.469 kB / 0.5099 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.148, allocations: 0 / 0.5099 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.148, allocations: 4 kB / 0.5099 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.687e-05/0.1481, allocations: 161.7 kB / 0.51 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1481, allocations: 0 / 0.51 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.1495, allocations: 225.1 kB / 0.5102 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1495, allocations: 0 / 0.5102 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1495, allocations: 0 / 0.5102 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.1516, allocations: 1.662 MB / 0.5119 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1516, allocations: 8.062 kB / 0.5119 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.1519, allocations: 93.05 kB / 0.512 GB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.06e-05/0.1519, allocations: 89.08 kB / 0.512 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-06/0.1519, allocations: 3.938 kB / 0.512 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.464e-05/0.152, allocations: 4 kB / 0.5121 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.152, allocations: 0 / 0.5121 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.152, allocations: 7.984 kB / 0.5121 GB, free: 1.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.375e-05/0.152, allocations: 75.28 kB / 0.5121 GB, free: 1.762 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.152, allocations: 4.125 kB / 0.5121 GB, free: 1.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.1522, allocations: 8 kB / 0.5121 GB, free: 1.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.000109/0.1524, allocations: 99.25 kB / 0.5122 GB, free: 1.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.1539, allocations: 263.6 kB / 0.5125 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.154, allocations: 4 kB / 0.5125 GB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00239/0.1564, allocations: 407.5 kB / 0.5129 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.1565, allocations: 8.062 kB / 0.5129 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.1587, allocations: 433.5 kB / 0.5133 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.1589, allocations: 0.6768 MB / 0.514 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.005e-05/0.1589, allocations: 0 / 0.514 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.159, allocations: 7.438 kB / 0.514 GB, free: 15.81 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.159, allocations: 0 / 0.514 GB, free: 15.81 MB / 398.1 MB Notification: Performance of Templates: time 0.002644/0.1616, allocations: 493 kB / 0.5144 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)