Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001392/0.001392, allocations: 105.3 kB / 16.41 MB, free: 6.508 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.001691/0.001691, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8437/0.8437, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 65.61 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.144, allocations: 80.22 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002692/0.1467, allocations: 1.228 MB / 0.6615 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1479, allocations: 0.5982 MB / 0.6621 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.1479, allocations: 0 / 0.6621 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.148, allocations: 7.938 kB / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.892e-05/0.148, allocations: 0 / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007439/0.1488, allocations: 139.4 kB / 0.6623 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.832e-05/0.1489, allocations: 11.94 kB / 0.6623 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.1489, allocations: 0 / 0.6623 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.976e-05/0.1489, allocations: 4 kB / 0.6623 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.149, allocations: 15.84 kB / 0.6623 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.149, allocations: 4 kB / 0.6623 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006075/0.1496, allocations: 339.3 kB / 0.6626 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.1497, allocations: 0 / 0.6626 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.1497, allocations: 11.98 kB / 0.6626 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.15, allocations: 131.7 kB / 0.6628 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.15, allocations: 8 kB / 0.6628 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.15, allocations: 0 / 0.6628 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.15, allocations: 0 / 0.6628 GB, free: 7.77 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.0004303/0.1505, allocations: 351.5 kB / 0.6631 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.1505, allocations: 11.97 kB / 0.6631 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.1505, allocations: 0.9375 kB / 0.6631 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1507, allocations: 168.4 kB / 0.6633 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1507, allocations: 384 / 0.6633 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.1507, allocations: 384 / 0.6633 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.267e-05/0.1508, allocations: 41.64 kB / 0.6633 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1508, allocations: 0 / 0.6633 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.1508, allocations: 0 / 0.6633 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1508, allocations: 0 / 0.6633 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.809e-05/0.1509, allocations: 4 kB / 0.6633 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.1511, allocations: 149.7 kB / 0.6635 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.482e-05/0.1511, allocations: 26.55 kB / 0.6635 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.1512, allocations: 8.859 kB / 0.6635 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.1512, allocations: 8 kB / 0.6635 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1512, allocations: 34.56 kB / 0.6635 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1512, allocations: 0 / 0.6635 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001478/0.1514, allocations: 41.59 kB / 0.6636 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.1514, allocations: 59.28 kB / 0.6636 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.542e-05/0.1515, allocations: 98.08 kB / 0.6637 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.1515, allocations: 29.73 kB / 0.6637 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.1516, allocations: 80.14 kB / 0.6638 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.1516, allocations: 11.89 kB / 0.6638 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.1516, allocations: 13.72 kB / 0.6638 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1518, allocations: 310.8 kB / 0.6641 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.1518, allocations: 4 kB / 0.6641 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.039e-05/0.1518, allocations: 4 kB / 0.6642 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/0.1518, allocations: 20.92 kB / 0.6642 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1518, allocations: 0 / 0.6642 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.114e-05/0.1519, allocations: 45.56 kB / 0.6642 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1519, allocations: 4 kB / 0.6642 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1519, allocations: 0 / 0.6642 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1519, allocations: 3.938 kB / 0.6642 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.1521, allocations: 11.98 kB / 0.6642 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003554/0.1525, allocations: 0.5861 MB / 0.6648 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/0.1525, allocations: 0 / 0.6648 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.1525, allocations: 0 / 0.6648 GB, free: 5.426 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 7.673e-05/0.1526, allocations: 114.7 kB / 0.6649 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.1526, allocations: 4 kB / 0.6649 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.964e-05/0.1527, allocations: 48.75 kB / 0.665 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1527, allocations: 3.984 kB / 0.665 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1527, allocations: 128 / 0.665 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1528, allocations: 4 kB / 0.665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.1529, allocations: 153.6 kB / 0.6651 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1529, allocations: 0 / 0.6651 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.106e-05/0.153, allocations: 8 kB / 0.6651 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.153, allocations: 0 / 0.6651 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.153, allocations: 4 kB / 0.6651 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003003/0.1533, allocations: 0.5898 MB / 0.6657 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1533, allocations: 4.094 kB / 0.6657 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.539e-05/0.1534, allocations: 69.11 kB / 0.6658 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.1534, allocations: 81.09 kB / 0.6659 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.1534, allocations: 3.938 kB / 0.6659 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.692e-05/0.1535, allocations: 0 / 0.6659 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.1535, allocations: 3.938 kB / 0.6659 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1535, allocations: 4 kB / 0.6659 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.081e-05/0.1535, allocations: 79.31 kB / 0.6659 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1535, allocations: 0 / 0.6659 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002041/0.1537, allocations: 11.94 kB / 0.666 GB, free: 4.121 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.0001689/0.1539, allocations: 111.2 kB / 0.6661 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.1541, allocations: 23.92 kB / 0.6661 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1541, allocations: 0 / 0.6661 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/0.1542, allocations: 16.14 kB / 0.6661 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.1543, allocations: 6.844 kB / 0.6661 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.1546, allocations: 133.6 kB / 0.6662 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.1549, allocations: 0.669 MB / 0.6669 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.1549, allocations: 11.44 kB / 0.6669 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1549, allocations: 0 / 0.6669 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.002233/0.1571, allocations: 0.7019 MB / 0.6676 GB, free: 2.391 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)