Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.001966/0.001966, allocations: 108 kB / 16.41 MB, free: 6.457 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.002119/0.002119, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8376/0.8376, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.56 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1756, allocations: 80.93 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002514/0.1781, allocations: 1.251 MB / 0.6665 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009547/0.1791, allocations: 0.5919 MB / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.1792, allocations: 0 / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.1792, allocations: 0 / 0.6671 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.165e-05/0.1793, allocations: 3.938 kB / 0.6671 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006653/0.1799, allocations: 139.4 kB / 0.6672 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.871e-05/0.18, allocations: 4 kB / 0.6672 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.925e-05/0.1801, allocations: 0 / 0.6672 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.615e-05/0.1801, allocations: 11.94 kB / 0.6672 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.1802, allocations: 11.98 kB / 0.6673 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1802, allocations: 3.938 kB / 0.6673 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005314/0.1807, allocations: 343.3 kB / 0.6676 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.457e-06/0.1808, allocations: 0 / 0.6676 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.1808, allocations: 4 kB / 0.6676 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.1811, allocations: 143.6 kB / 0.6677 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1811, allocations: 0 / 0.6677 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1811, allocations: 0 / 0.6677 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.1811, allocations: 0 / 0.6677 GB, free: 3.281 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.0004279/0.1815, allocations: 355.4 kB / 0.6681 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1816, allocations: 13.11 kB / 0.6681 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.1816, allocations: 0.9375 kB / 0.6681 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.1818, allocations: 164.4 kB / 0.6682 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1818, allocations: 4.359 kB / 0.6682 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.1818, allocations: 384 / 0.6682 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.585e-05/0.1819, allocations: 37.58 kB / 0.6683 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1819, allocations: 0 / 0.6683 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.1819, allocations: 0 / 0.6683 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1819, allocations: 0 / 0.6683 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.428e-05/0.182, allocations: 8 kB / 0.6683 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.1821, allocations: 157.7 kB / 0.6684 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.795e-05/0.1822, allocations: 22.58 kB / 0.6685 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.1822, allocations: 8.922 kB / 0.6685 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1822, allocations: 7.875 kB / 0.6685 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1823, allocations: 30.56 kB / 0.6685 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1823, allocations: 4 kB / 0.6685 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001405/0.1824, allocations: 41.69 kB / 0.6685 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1825, allocations: 55.41 kB / 0.6686 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/0.1825, allocations: 89.86 kB / 0.6687 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1825, allocations: 29.64 kB / 0.6687 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.1826, allocations: 84.14 kB / 0.6688 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.1826, allocations: 11.89 kB / 0.6688 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.1827, allocations: 9.969 kB / 0.6688 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1828, allocations: 318.8 kB / 0.6691 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.1828, allocations: 0 / 0.6691 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307e-05/0.1828, allocations: 11.94 kB / 0.6691 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.962e-05/0.1828, allocations: 8.859 kB / 0.6691 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1828, allocations: 4 kB / 0.6691 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.765e-05/0.1829, allocations: 45.62 kB / 0.6692 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1829, allocations: 4 kB / 0.6692 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1829, allocations: 8.031 kB / 0.6692 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.183, allocations: 4 kB / 0.6692 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1831, allocations: 8 kB / 0.6692 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003683/0.1835, allocations: 0.5898 MB / 0.6698 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.1835, allocations: 0 / 0.6698 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1835, allocations: 0 / 0.6698 GB, free: 0.9297 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 8.088e-05/0.1836, allocations: 113.9 kB / 0.6699 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.1836, allocations: 8.016 kB / 0.6699 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.1837, allocations: 44.81 kB / 0.6699 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1838, allocations: 0 / 0.6699 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1838, allocations: 0 / 0.6699 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1838, allocations: 0 / 0.6699 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.1839, allocations: 161.5 kB / 0.6701 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1839, allocations: 0 / 0.6701 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.184, allocations: 8 kB / 0.6701 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.184, allocations: 0 / 0.6701 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.184, allocations: 4.031 kB / 0.6701 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003174/0.1843, allocations: 0.586 MB / 0.6707 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1843, allocations: 0 / 0.6707 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.538e-05/0.1844, allocations: 73.02 kB / 0.6708 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/0.1845, allocations: 81.23 kB / 0.6708 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1845, allocations: 7.922 kB / 0.6708 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.1845, allocations: 0 / 0.6708 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.1845, allocations: 4 kB / 0.6708 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1845, allocations: 4 kB / 0.6708 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.1846, allocations: 79.22 kB / 0.6709 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1846, allocations: 0 / 0.6709 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001879/0.1848, allocations: 11.94 kB / 0.6709 GB, free: 15.62 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.0001832/0.185, allocations: 116.7 kB / 0.671 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.1851, allocations: 15.98 kB / 0.6711 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1851, allocations: 4 kB / 0.6711 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.363e-05/0.1852, allocations: 19.92 kB / 0.6711 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.1854, allocations: 1.875 kB / 0.6711 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.1857, allocations: 127.9 kB / 0.6712 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.186, allocations: 0.6729 MB / 0.6719 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.186, allocations: 7.438 kB / 0.6719 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.186, allocations: 4 kB / 0.6719 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of Templates: time 0.00229/0.1883, allocations: 0.6943 MB / 0.6725 GB, free: 13.9 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)