Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001839/0.001839, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002105/0.002105, allocations: 194.7 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9485/0.9485, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.42 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1523, allocations: 81.02 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002526/0.1549, allocations: 1.306 MB / 0.5858 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009597/0.1558, allocations: 0.5856 MB / 0.5864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.1559, allocations: 0 / 0.5864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.1559, allocations: 0 / 0.5864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.727e-05/0.156, allocations: 3.938 kB / 0.5864 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.1565, allocations: 123.6 kB / 0.5865 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.573e-05/0.1565, allocations: 19.86 kB / 0.5865 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.1566, allocations: 4 kB / 0.5865 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.416e-05/0.1566, allocations: 0 / 0.5865 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.384e-05/0.1566, allocations: 4 kB / 0.5865 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.1566, allocations: 0 / 0.5865 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.1571, allocations: 347.3 kB / 0.5868 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.756e-06/0.1572, allocations: 0 / 0.5868 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.1572, allocations: 3.938 kB / 0.5868 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1574, allocations: 136 kB / 0.587 GB, free: 1.785 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1574, allocations: 7.984 kB / 0.587 GB, free: 1.777 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1575, allocations: 0 / 0.587 GB, free: 1.777 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1575, allocations: 0 / 0.587 GB, free: 1.777 MB / 494.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.000427/0.1579, allocations: 363.2 kB / 0.5873 GB, free: 1.375 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1579, allocations: 12.03 kB / 0.5873 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.158, allocations: 0.9375 kB / 0.5873 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1581, allocations: 164.3 kB / 0.5875 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1581, allocations: 384 / 0.5875 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.1581, allocations: 4.375 kB / 0.5875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.43e-05/0.1582, allocations: 37.81 kB / 0.5875 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1583, allocations: 0 / 0.5875 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1583, allocations: 4 kB / 0.5875 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1583, allocations: 4 kB / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.13e-05/0.1583, allocations: 0 / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.1585, allocations: 153.7 kB / 0.5877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.96e-05/0.1585, allocations: 26.55 kB / 0.5877 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.1586, allocations: 12.92 kB / 0.5877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1586, allocations: 0 / 0.5877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1586, allocations: 34.5 kB / 0.5878 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.1586, allocations: 0 / 0.5878 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001367/0.1588, allocations: 49.62 kB / 0.5878 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1588, allocations: 51.41 kB / 0.5878 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.1589, allocations: 98.08 kB / 0.5879 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1589, allocations: 29.73 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.159, allocations: 80.14 kB / 0.588 GB, free: 488 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.159, allocations: 3.906 kB / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.159, allocations: 13.72 kB / 0.5881 GB, free: 464 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1592, allocations: 318.8 kB / 0.5884 GB, free: 136 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.1592, allocations: 4 kB / 0.5884 GB, free: 132 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-06/0.1592, allocations: 0 / 0.5884 GB, free: 132 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.763e-05/0.1592, allocations: 12.92 kB / 0.5884 GB, free: 116 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1592, allocations: 0 / 0.5884 GB, free: 116 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.611e-05/0.1593, allocations: 53.58 kB / 0.5884 GB, free: 56 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1593, allocations: 6.188 kB / 0.5884 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1594, allocations: 3.984 kB / 0.5884 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1594, allocations: 3.938 kB / 0.5884 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1595, allocations: 8 kB / 0.5885 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004078/0.1599, allocations: 0.5822 MB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.74e-05/0.16, allocations: 0 / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.16, allocations: 0 / 0.589 GB, free: 15.43 MB / 0.4981 GB 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 8.856e-05/0.1601, allocations: 124.6 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.1601, allocations: 3.906 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1602, allocations: 48.75 kB / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1602, allocations: 0 / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1602, allocations: 4.125 kB / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1602, allocations: 3.984 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1603, allocations: 149.6 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1603, allocations: 0 / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.219e-05/0.1604, allocations: 15.92 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1604, allocations: 0 / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.1604, allocations: 0 / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003645/0.1608, allocations: 0.5899 MB / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1608, allocations: 8.031 kB / 0.5899 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.299e-05/0.1609, allocations: 61.16 kB / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.161, allocations: 77.11 kB / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.161, allocations: 0 / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.572e-05/0.161, allocations: 7.938 kB / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.161, allocations: 3.984 kB / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.161, allocations: 0 / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.1611, allocations: 83.31 kB / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1611, allocations: 0 / 0.5902 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001846/0.1613, allocations: 4 kB / 0.5902 GB, free: 14.13 MB / 0.4981 GB 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.0001623/0.1614, allocations: 115.2 kB / 0.5903 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.1616, allocations: 23.92 kB / 0.5903 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1616, allocations: 4 kB / 0.5903 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.1617, allocations: 12.16 kB / 0.5903 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.1618, allocations: 0 / 0.5903 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.1622, allocations: 109.9 kB / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1625, allocations: 0.6768 MB / 0.5911 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.51e-05/0.1625, allocations: 0 / 0.5911 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.674e-05/0.1625, allocations: 11.5 kB / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1626, allocations: 4 kB / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.002578/0.1651, allocations: 446.2 kB / 0.5915 GB, free: 12.71 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)