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.0009559/0.000956, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 176.5 kB / 16.92 MB, free: 6.652 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.329/1.329, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9166/0.9166, allocations: 135.3 MB / 427.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 12 kB / 0.5082 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1554, allocations: 82.3 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001255/0.1567, allocations: 0.971 MB / 0.5896 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009266/0.1576, allocations: 0.6013 MB / 0.5901 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.251e-05/0.1577, allocations: 0 / 0.5901 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.1577, allocations: 0 / 0.5901 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.657e-05/0.1577, allocations: 7.922 kB / 0.5902 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.1581, allocations: 115.6 kB / 0.5903 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.64e-05/0.1582, allocations: 7.984 kB / 0.5903 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.1582, allocations: 3.938 kB / 0.5903 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.685e-05/0.1582, allocations: 8 kB / 0.5903 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.388e-05/0.1583, allocations: 4 kB / 0.5903 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1583, allocations: 4 kB / 0.5903 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.1588, allocations: 343.3 kB / 0.5906 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-06/0.1588, allocations: 0 / 0.5906 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.1588, allocations: 33.62 kB / 0.5906 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.159, allocations: 92.11 kB / 0.5907 GB, free: 432 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.159, allocations: 0 / 0.5907 GB, free: 432 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.159, allocations: 0 / 0.5907 GB, free: 432 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.159, allocations: 0 / 0.5907 GB, free: 432 kB / 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.0003402/0.1593, allocations: 351.5 kB / 0.5911 GB, free: 32 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1594, allocations: 12.03 kB / 0.5911 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.1594, allocations: 12.78 kB / 0.5911 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.1595, allocations: 160.4 kB / 0.5912 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.1596, allocations: 384 / 0.5912 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.1596, allocations: 8.359 kB / 0.5913 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.057e-05/0.1597, allocations: 41.81 kB / 0.5913 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/0.1597, allocations: 0 / 0.5913 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.1597, allocations: 0 / 0.5913 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.1597, allocations: 7.938 kB / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.571e-05/0.1597, allocations: 4 kB / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.1599, allocations: 149.7 kB / 0.5914 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.616e-05/0.1599, allocations: 26.55 kB / 0.5915 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.16, allocations: 4.859 kB / 0.5915 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.16, allocations: 0 / 0.5915 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.16, allocations: 38.56 kB / 0.5915 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.16, allocations: 4 kB / 0.5915 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001369/0.1602, allocations: 41.69 kB / 0.5916 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.1602, allocations: 59.28 kB / 0.5916 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.1603, allocations: 97.86 kB / 0.5917 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.1603, allocations: 25.7 kB / 0.5917 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.1603, allocations: 80.14 kB / 0.5918 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.1604, allocations: 3.906 kB / 0.5918 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.1604, allocations: 13.97 kB / 0.5918 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.1605, allocations: 318.8 kB / 0.5921 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.1605, allocations: 4 kB / 0.5921 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.669e-05/0.1605, allocations: 4 kB / 0.5921 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.603e-05/0.1606, allocations: 8.859 kB / 0.5921 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1606, allocations: 0 / 0.5921 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.04e-05/0.1607, allocations: 41.64 kB / 0.5922 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1607, allocations: 15.92 kB / 0.5922 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1607, allocations: 4.094 kB / 0.5922 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.1607, allocations: 0 / 0.5922 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.1609, allocations: 8 kB / 0.5922 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003464/0.1612, allocations: 0.5782 MB / 0.5928 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.1612, allocations: 3.984 kB / 0.5928 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1612, allocations: 0 / 0.5928 GB, free: 14.08 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.12e-05/0.1613, allocations: 117.9 kB / 0.5929 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-06/0.1613, allocations: 4 kB / 0.5929 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.1615, allocations: 52.66 kB / 0.5929 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1615, allocations: 0 / 0.5929 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1615, allocations: 0 / 0.5929 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1615, allocations: 0 / 0.5929 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.1616, allocations: 149.6 kB / 0.5931 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1616, allocations: 0 / 0.5931 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-05/0.1617, allocations: 15.92 kB / 0.5931 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1617, allocations: 4.031 kB / 0.5931 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.1617, allocations: 0 / 0.5931 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002941/0.162, allocations: 0.586 MB / 0.5937 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.162, allocations: 0 / 0.5937 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.036e-05/0.1621, allocations: 69.19 kB / 0.5937 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.1621, allocations: 77.11 kB / 0.5938 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1621, allocations: 4 kB / 0.5938 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.606e-05/0.1622, allocations: 11.94 kB / 0.5938 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.1622, allocations: 3.984 kB / 0.5938 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.1622, allocations: 0 / 0.5938 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.963e-05/0.1622, allocations: 79.28 kB / 0.5939 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1622, allocations: 0 / 0.5939 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001893/0.1624, allocations: 4 kB / 0.5939 GB, free: 12.79 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.0001596/0.1626, allocations: 119.3 kB / 0.594 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001461/0.1627, allocations: 27.86 kB / 0.5941 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.1628, allocations: 0 / 0.5941 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.654e-05/0.1629, allocations: 12 kB / 0.5941 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.163, allocations: 3.984 kB / 0.5941 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.1633, allocations: 147.8 kB / 0.5942 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.1635, allocations: 0.6731 MB / 0.5949 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/0.1636, allocations: 7.438 kB / 0.5949 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1636, allocations: 0 / 0.5949 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.002128/0.1657, allocations: 0.6869 MB / 0.5956 GB, free: 11.05 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)