Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000828/0.000828, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.000888/0.000888, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8797/0.8797, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 8 kB / 0.5068 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 82.31 MB / 0.5872 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001404/0.1429, allocations: 0.9594 MB / 0.5881 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005411/0.1434, allocations: 323.2 kB / 0.5884 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.1435, allocations: 0 / 0.5884 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.1435, allocations: 3.984 kB / 0.5884 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.213e-05/0.1435, allocations: 7.922 kB / 0.5885 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1439, allocations: 67.55 kB / 0.5885 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.738e-05/0.1439, allocations: 3.984 kB / 0.5885 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.144, allocations: 4 kB / 0.5885 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.144, allocations: 3.984 kB / 0.5885 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.1441, allocations: 12 kB / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.1441, allocations: 0 / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.1444, allocations: 179.7 kB / 0.5887 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-06/0.1444, allocations: 3.984 kB / 0.5887 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.1444, allocations: 29.7 kB / 0.5887 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.1445, allocations: 48.11 kB / 0.5888 GB, free: 1.441 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1446, allocations: 0 / 0.5888 GB, free: 1.441 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1446, allocations: 4 kB / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1446, allocations: 0 / 0.5888 GB, free: 1.438 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.0003618/0.1449, allocations: 327.4 kB / 0.5891 GB, free: 1.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.145, allocations: 16.03 kB / 0.5891 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.145, allocations: 3.906 kB / 0.5891 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.1452, allocations: 174.9 kB / 0.5893 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1452, allocations: 0 / 0.5893 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.1452, allocations: 4 kB / 0.5893 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.209e-05/0.1453, allocations: 29.7 kB / 0.5893 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1453, allocations: 0 / 0.5893 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1453, allocations: 7.938 kB / 0.5893 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1453, allocations: 0 / 0.5893 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.573e-05/0.1454, allocations: 4 kB / 0.5893 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.1456, allocations: 157.6 kB / 0.5895 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.007e-05/0.1456, allocations: 22.55 kB / 0.5895 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.1456, allocations: 4.062 kB / 0.5895 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1457, allocations: 30.56 kB / 0.5895 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.1457, allocations: 0 / 0.5895 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001514/0.1458, allocations: 45.69 kB / 0.5896 GB, free: 472 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.1459, allocations: 51.41 kB / 0.5896 GB, free: 408 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/0.146, allocations: 93.86 kB / 0.5897 GB, free: 304 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.146, allocations: 25.7 kB / 0.5897 GB, free: 272 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.146, allocations: 88.08 kB / 0.5898 GB, free: 180 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.1461, allocations: 7.906 kB / 0.5898 GB, free: 172 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.1461, allocations: 0 / 0.5898 GB, free: 172 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1462, allocations: 315.1 kB / 0.5901 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.1462, allocations: 4 kB / 0.5901 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-06/0.1462, allocations: 4 kB / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.669e-05/0.1462, allocations: 4 kB / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1463, allocations: 0 / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.388e-05/0.1463, allocations: 45.59 kB / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.1464, allocations: 4 kB / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1464, allocations: 0 / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1464, allocations: 3.984 kB / 0.5902 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.1465, allocations: 8 kB / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003281/0.1469, allocations: 0.5861 MB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.1469, allocations: 0 / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1469, allocations: 4.031 kB / 0.5908 GB, free: 15.16 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/0.147, allocations: 119.7 kB / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-06/0.147, allocations: 0 / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.302e-05/0.1471, allocations: 48.83 kB / 0.5909 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1471, allocations: 3.984 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1471, allocations: 4 kB / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1471, allocations: 3.938 kB / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.954e-05/0.1472, allocations: 145.6 kB / 0.5911 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1472, allocations: 7.984 kB / 0.5911 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.1473, allocations: 11.98 kB / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1473, allocations: 0 / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1474, allocations: 4 kB / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002795/0.1476, allocations: 0.59 MB / 0.5917 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1476, allocations: 3.953 kB / 0.5917 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.882e-05/0.1477, allocations: 65.09 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.1478, allocations: 81.05 kB / 0.5918 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.1478, allocations: 4 kB / 0.5918 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.398e-05/0.1478, allocations: 4.125 kB / 0.5918 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.1478, allocations: 0 / 0.5918 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.1478, allocations: 7.938 kB / 0.5919 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.1479, allocations: 79.28 kB / 0.5919 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1479, allocations: 0 / 0.5919 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001865/0.1481, allocations: 4 kB / 0.5919 GB, free: 13.86 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001556/0.1482, allocations: 115.2 kB / 0.592 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.1484, allocations: 24.08 kB / 0.5921 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1484, allocations: 4 kB / 0.5921 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.591e-05/0.1485, allocations: 15.88 kB / 0.5921 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.268e-05/0.1486, allocations: 0 / 0.5921 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.1489, allocations: 107.2 kB / 0.5922 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1492, allocations: 0.6811 MB / 0.5929 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.527e-05/0.1492, allocations: 0 / 0.5929 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.1492, allocations: 11.44 kB / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1492, allocations: 0 / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.002288/0.1515, allocations: 399.7 kB / 0.5932 GB, free: 12.47 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: