Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001724/0.001724, allocations: 187 kB / 17.34 MB, free: 5.762 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.466/1.466, 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.8248/0.8248, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.92 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1596, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00229/0.1619, allocations: 1.285 MB / 0.6665 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000949/0.1629, allocations: 0.5919 MB / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.163, allocations: 0 / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.163, allocations: 0 / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.841e-05/0.163, allocations: 3.938 kB / 0.6671 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.1636, allocations: 143.4 kB / 0.6673 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.36e-05/0.1636, allocations: 15.94 kB / 0.6673 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.1637, allocations: 11.97 kB / 0.6673 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.1637, allocations: 11.94 kB / 0.6673 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/0.1638, allocations: 4 kB / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1638, allocations: 4 kB / 0.6673 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.1643, allocations: 343.3 kB / 0.6676 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.1643, allocations: 3.984 kB / 0.6676 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.1644, allocations: 11.94 kB / 0.6677 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.1646, allocations: 151.6 kB / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1646, allocations: 0 / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1646, allocations: 0 / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.1647, allocations: 4 kB / 0.6678 GB, free: 3.223 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004286/0.1651, allocations: 363.3 kB / 0.6682 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1651, allocations: 9.109 kB / 0.6682 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.1652, allocations: 0.9375 kB / 0.6682 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1653, allocations: 164.4 kB / 0.6683 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1653, allocations: 384 / 0.6683 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.1653, allocations: 384 / 0.6683 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.1654, allocations: 49.56 kB / 0.6684 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1654, allocations: 3.938 kB / 0.6684 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1654, allocations: 8 kB / 0.6684 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1654, allocations: 4 kB / 0.6684 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.602e-05/0.1655, allocations: 11.98 kB / 0.6684 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.1658, allocations: 260.8 kB / 0.6686 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.166, allocations: 42.62 kB / 0.6687 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.1661, allocations: 20.86 kB / 0.6687 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.1661, allocations: 11.92 kB / 0.6687 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1661, allocations: 30.56 kB / 0.6687 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1661, allocations: 0 / 0.6687 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001653/0.1663, allocations: 53.69 kB / 0.6688 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.1664, allocations: 55.41 kB / 0.6688 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.1664, allocations: 98.03 kB / 0.6689 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1665, allocations: 25.7 kB / 0.669 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.1665, allocations: 88.08 kB / 0.669 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.1665, allocations: 19.8 kB / 0.6691 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.1666, allocations: 17.72 kB / 0.6691 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1667, allocations: 314.8 kB / 0.6694 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.1667, allocations: 11.98 kB / 0.6694 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.1667, allocations: 25.66 kB / 0.6694 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.396e-05/0.1668, allocations: 29.72 kB / 0.6694 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1668, allocations: 0 / 0.6694 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.833e-05/0.1669, allocations: 61.53 kB / 0.6695 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1669, allocations: 4 kB / 0.6695 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1669, allocations: 4 kB / 0.6695 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1669, allocations: 0 / 0.6695 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.951e-05/0.167, allocations: 15.98 kB / 0.6695 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.167, allocations: 0 / 0.6695 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.203e-05/0.167, allocations: 0 / 0.6695 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1671, allocations: 4 kB / 0.6695 GB, free: 1.219 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.697e-05/0.1671, allocations: 115.1 kB / 0.6696 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.1672, allocations: 3.938 kB / 0.6696 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.1673, allocations: 69.11 kB / 0.6697 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1673, allocations: 0 / 0.6697 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1673, allocations: 0 / 0.6697 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1673, allocations: 4 kB / 0.6697 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.1675, allocations: 161.5 kB / 0.6699 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1675, allocations: 0 / 0.6699 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.1675, allocations: 4 kB / 0.6699 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1675, allocations: 8 kB / 0.6699 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1676, allocations: 0 / 0.6699 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1676, allocations: 0 / 0.6699 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1676, allocations: 0 / 0.6699 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.1677, allocations: 159.3 kB / 0.67 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.1677, allocations: 85.03 kB / 0.6701 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1678, allocations: 0 / 0.6701 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-05/0.1678, allocations: 4 kB / 0.6701 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.1678, allocations: 4 kB / 0.6701 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.1678, allocations: 128 / 0.6701 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.354e-05/0.1679, allocations: 79.28 kB / 0.6702 GB, free: 440 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1679, allocations: 0 / 0.6702 GB, free: 440 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002446/0.1681, allocations: 23.98 kB / 0.6702 GB, free: 416 kB / 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000176/0.1683, allocations: 115.7 kB / 0.6703 GB, free: 288 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.269e-05/0.1684, allocations: 31.86 kB / 0.6704 GB, free: 256 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1684, allocations: 4.062 kB / 0.6704 GB, free: 252 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.961e-05/0.1684, allocations: 12.09 kB / 0.6704 GB, free: 240 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.1687, allocations: 1.875 kB / 0.6704 GB, free: 240 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.169, allocations: 156.3 kB / 0.6705 GB, free: 52 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.1692, allocations: 0.6846 MB / 0.6712 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.1692, allocations: 7.438 kB / 0.6712 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1692, allocations: 0 / 0.6712 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.002018/0.1713, allocations: 0.7097 MB / 0.6719 GB, free: 14.62 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)