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.007383/0.007383, allocations: 103.7 kB / 15.73 MB, free: 6.055 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.001324/0.001324, allocations: 195.9 kB / 16.68 MB, free: 5.961 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7906/0.7906, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.78 kB / 0.5813 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1397, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002006/0.1417, allocations: 1.242 MB / 0.6609 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008873/0.1426, allocations: 0.5943 MB / 0.6615 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.1426, allocations: 0 / 0.6615 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.1427, allocations: 0 / 0.6615 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.157e-05/0.1427, allocations: 7.938 kB / 0.6615 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.1432, allocations: 139.4 kB / 0.6616 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.674e-05/0.1432, allocations: 7.938 kB / 0.6616 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.1432, allocations: 4 kB / 0.6616 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.614e-05/0.1433, allocations: 3.984 kB / 0.6616 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.746e-05/0.1433, allocations: 4 kB / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.1433, allocations: 0 / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.1438, allocations: 343.3 kB / 0.662 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.965e-06/0.1438, allocations: 11.94 kB / 0.662 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.1438, allocations: 4 kB / 0.662 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.144, allocations: 139.6 kB / 0.6621 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1441, allocations: 0 / 0.6621 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1441, allocations: 0 / 0.6621 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.1441, allocations: 0 / 0.6621 GB, free: 7.754 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.0003257/0.1444, allocations: 351.5 kB / 0.6624 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.1444, allocations: 12.03 kB / 0.6624 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.1445, allocations: 0.9375 kB / 0.6624 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.1446, allocations: 164.4 kB / 0.6626 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.1446, allocations: 4.375 kB / 0.6626 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-06/0.1446, allocations: 384 / 0.6626 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.446e-05/0.1447, allocations: 41.58 kB / 0.6627 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1447, allocations: 0 / 0.6627 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.1447, allocations: 0 / 0.6627 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-06/0.1447, allocations: 4 kB / 0.6627 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.12e-05/0.1447, allocations: 0 / 0.6627 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.1449, allocations: 153.7 kB / 0.6628 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.168e-05/0.1449, allocations: 22.61 kB / 0.6628 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.1449, allocations: 8.922 kB / 0.6628 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.145, allocations: 7.922 kB / 0.6628 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.145, allocations: 38.5 kB / 0.6629 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.145, allocations: 0 / 0.6629 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001187/0.1451, allocations: 41.61 kB / 0.6629 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.1452, allocations: 51.53 kB / 0.663 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.637e-05/0.1452, allocations: 101.9 kB / 0.6631 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.1452, allocations: 29.69 kB / 0.6631 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.1453, allocations: 84.12 kB / 0.6632 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.1453, allocations: 7.844 kB / 0.6632 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.1453, allocations: 17.72 kB / 0.6632 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.665e-05/0.1454, allocations: 310.8 kB / 0.6635 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/0.1454, allocations: 0 / 0.6635 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.1455, allocations: 12.06 kB / 0.6635 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.03e-05/0.1455, allocations: 16.84 kB / 0.6635 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1455, allocations: 0 / 0.6635 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.547e-05/0.1456, allocations: 41.58 kB / 0.6636 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.1456, allocations: 8 kB / 0.6636 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1456, allocations: 0 / 0.6636 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1456, allocations: 0 / 0.6636 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1457, allocations: 11.98 kB / 0.6636 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003049/0.146, allocations: 0.5861 MB / 0.6641 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.1461, allocations: 4 kB / 0.6642 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.1461, allocations: 0 / 0.6642 GB, free: 5.406 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.498e-05/0.1462, allocations: 114.7 kB / 0.6643 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.1462, allocations: 3.984 kB / 0.6643 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.1463, allocations: 48.91 kB / 0.6643 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1463, allocations: 0 / 0.6643 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1463, allocations: 4 kB / 0.6643 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1463, allocations: 0 / 0.6643 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.58e-05/0.1464, allocations: 153.6 kB / 0.6645 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1464, allocations: 3.938 kB / 0.6645 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.1465, allocations: 15.98 kB / 0.6645 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1465, allocations: 0 / 0.6645 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.1465, allocations: 0 / 0.6645 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002612/0.1468, allocations: 0.5937 MB / 0.6651 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1468, allocations: 0 / 0.6651 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.72e-05/0.1468, allocations: 69.09 kB / 0.6651 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.1469, allocations: 77.11 kB / 0.6652 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.1469, allocations: 3.938 kB / 0.6652 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.392e-05/0.1469, allocations: 4 kB / 0.6652 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.1469, allocations: 4.125 kB / 0.6652 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-06/0.1469, allocations: 0 / 0.6652 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.792e-05/0.147, allocations: 79.28 kB / 0.6653 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.452e-06/0.147, allocations: 0 / 0.6653 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001886/0.1472, allocations: 11.88 kB / 0.6653 GB, free: 4.102 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.0001381/0.1473, allocations: 115.2 kB / 0.6654 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.1475, allocations: 20.08 kB / 0.6654 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1475, allocations: 0 / 0.6654 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.414e-05/0.1476, allocations: 19.92 kB / 0.6654 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.1477, allocations: 2.406 kB / 0.6655 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.148, allocations: 108.8 kB / 0.6656 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.1482, allocations: 0.669 MB / 0.6662 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.797e-05/0.1482, allocations: 12.03 kB / 0.6662 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.1482, allocations: 11.38 kB / 0.6662 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1482, allocations: 0 / 0.6662 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.002271/0.1505, allocations: 463.3 kB / 0.6667 GB, free: 2.668 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)