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.001749/0.001749, allocations: 110.3 kB / 16.41 MB, free: 6.027 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.001752/0.001752, allocations: 186.6 kB / 17.34 MB, free: 5.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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8119/0.8119, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 66.86 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1511, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002126/0.1532, allocations: 1.246 MB / 0.6665 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.1542, allocations: 0.5958 MB / 0.6671 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.1542, allocations: 0 / 0.6671 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.1543, allocations: 3.938 kB / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.774e-05/0.1543, allocations: 0 / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.1548, allocations: 137.3 kB / 0.6672 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.426e-05/0.1549, allocations: 11.92 kB / 0.6672 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.1549, allocations: 4 kB / 0.6672 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.777e-05/0.155, allocations: 4 kB / 0.6672 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.155, allocations: 7.984 kB / 0.6672 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.155, allocations: 0 / 0.6672 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004912/0.1555, allocations: 343.3 kB / 0.6676 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.1555, allocations: 7.984 kB / 0.6676 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.1556, allocations: 4 kB / 0.6676 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.1558, allocations: 139.7 kB / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1558, allocations: 0 / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1558, allocations: 3.938 kB / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.1558, allocations: 0 / 0.6677 GB, free: 3.301 MB / 0.4981 GB 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.0004092/0.1563, allocations: 355.4 kB / 0.6681 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1563, allocations: 9.109 kB / 0.6681 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.1563, allocations: 4.938 kB / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1565, allocations: 160.4 kB / 0.6682 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1565, allocations: 4.375 kB / 0.6682 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.1565, allocations: 384 / 0.6682 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.679e-05/0.1566, allocations: 37.62 kB / 0.6683 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1566, allocations: 0 / 0.6683 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.1566, allocations: 4 kB / 0.6683 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1566, allocations: 3.938 kB / 0.6683 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.491e-05/0.1567, allocations: 4 kB / 0.6683 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.1568, allocations: 157.7 kB / 0.6684 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.602e-05/0.1569, allocations: 22.55 kB / 0.6685 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.1569, allocations: 12.92 kB / 0.6685 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1569, allocations: 3.938 kB / 0.6685 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.157, allocations: 34.56 kB / 0.6685 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.157, allocations: 0 / 0.6685 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000131/0.1571, allocations: 49.62 kB / 0.6686 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.1571, allocations: 51.41 kB / 0.6686 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.869e-05/0.1572, allocations: 89.86 kB / 0.6687 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.1572, allocations: 25.7 kB / 0.6687 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.1573, allocations: 88.33 kB / 0.6688 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.1573, allocations: 7.906 kB / 0.6688 GB, free: 2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.1573, allocations: 17.7 kB / 0.6688 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1574, allocations: 314.8 kB / 0.6691 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.261e-05/0.1575, allocations: 0 / 0.6691 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.04e-05/0.1575, allocations: 4 kB / 0.6691 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.1575, allocations: 12.86 kB / 0.6691 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1575, allocations: 0 / 0.6691 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.288e-05/0.1576, allocations: 49.62 kB / 0.6692 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1576, allocations: 10.03 kB / 0.6692 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1576, allocations: 0 / 0.6692 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1576, allocations: 0 / 0.6692 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1578, allocations: 12 kB / 0.6692 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003595/0.1581, allocations: 0.5859 MB / 0.6698 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.1582, allocations: 0 / 0.6698 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1582, allocations: 128 / 0.6698 GB, free: 0.957 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 6.996e-05/0.1583, allocations: 117.8 kB / 0.6699 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-06/0.1583, allocations: 0 / 0.6699 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.1584, allocations: 48.75 kB / 0.6699 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1584, allocations: 3.984 kB / 0.6699 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1584, allocations: 0 / 0.6699 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1584, allocations: 0 / 0.6699 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1585, allocations: 161.6 kB / 0.6701 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1585, allocations: 32 / 0.6701 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.1586, allocations: 12 kB / 0.6701 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.1586, allocations: 0 / 0.6701 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.1586, allocations: 0 / 0.6701 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003084/0.1589, allocations: 0.5898 MB / 0.6707 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.159, allocations: 0 / 0.6707 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.377e-05/0.159, allocations: 73.17 kB / 0.6707 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.1591, allocations: 81.05 kB / 0.6708 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1591, allocations: 7.922 kB / 0.6708 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.1591, allocations: 0 / 0.6708 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.1591, allocations: 4 kB / 0.6708 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1591, allocations: 4 kB / 0.6708 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.226e-05/0.1592, allocations: 79.28 kB / 0.6709 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1592, allocations: 3.938 kB / 0.6709 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001941/0.1594, allocations: 16.06 kB / 0.6709 GB, free: 15.64 MB / 0.5137 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.0001659/0.1595, allocations: 112.6 kB / 0.671 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.1597, allocations: 19.92 kB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1597, allocations: 0 / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.1598, allocations: 19.98 kB / 0.6711 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.16, allocations: 0 / 0.6711 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.1603, allocations: 123.9 kB / 0.6712 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1606, allocations: 0.6729 MB / 0.6719 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.1606, allocations: 7.438 kB / 0.6719 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1606, allocations: 0 / 0.6719 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of Templates: time 0.002349/0.163, allocations: 0.7018 MB / 0.6725 GB, free: 13.92 MB / 0.5137 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)