Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.005587/0.005587, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001223/0.001223, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.354/1.354, 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-master/package.mo): time 0.8322/0.8322, allocations: 135.1 MB / 425.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 68.08 kB / 0.5856 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.18, allocations: 80.92 MB / 0.6646 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.0022/0.1822, allocations: 1.25 MB / 0.6659 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1833, allocations: 0.588 MB / 0.6664 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.1833, allocations: 0 / 0.6664 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.1834, allocations: 0 / 0.6664 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.1834, allocations: 7.922 kB / 0.6664 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.184, allocations: 135.4 kB / 0.6666 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.09e-05/0.184, allocations: 12 kB / 0.6666 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.1841, allocations: 7.984 kB / 0.6666 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.1841, allocations: 3.938 kB / 0.6666 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.1841, allocations: 7.938 kB / 0.6666 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.1842, allocations: 0 / 0.6666 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/0.1846, allocations: 339.4 kB / 0.6669 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.1847, allocations: 4 kB / 0.6669 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.1847, allocations: 0 / 0.6669 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.1849, allocations: 147.6 kB / 0.6671 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1849, allocations: 0 / 0.6671 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1849, allocations: 0 / 0.6671 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.185, allocations: 4 kB / 0.6671 GB, free: 3.43 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.0004179/0.1854, allocations: 355.4 kB / 0.6674 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.1854, allocations: 13.11 kB / 0.6674 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.1855, allocations: 0.9375 kB / 0.6674 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1856, allocations: 168.3 kB / 0.6676 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1856, allocations: 384 / 0.6676 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.1856, allocations: 384 / 0.6676 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/0.1857, allocations: 33.64 kB / 0.6676 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1857, allocations: 4 kB / 0.6676 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1858, allocations: 4 kB / 0.6676 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1858, allocations: 3.938 kB / 0.6676 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.511e-05/0.1858, allocations: 4 kB / 0.6676 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.186, allocations: 149.7 kB / 0.6678 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.416e-05/0.186, allocations: 26.55 kB / 0.6678 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.186, allocations: 8.922 kB / 0.6678 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1861, allocations: 7.922 kB / 0.6678 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1861, allocations: 34.56 kB / 0.6678 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1861, allocations: 0 / 0.6678 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001428/0.1863, allocations: 41.7 kB / 0.6679 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.1863, allocations: 55.34 kB / 0.6679 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.1864, allocations: 101.8 kB / 0.668 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1864, allocations: 25.7 kB / 0.6681 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.1864, allocations: 88.33 kB / 0.6681 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.1865, allocations: 3.906 kB / 0.6681 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.1865, allocations: 13.72 kB / 0.6682 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1866, allocations: 314.8 kB / 0.6685 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.1866, allocations: 0 / 0.6685 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.938e-06/0.1866, allocations: 4 kB / 0.6685 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.1867, allocations: 12.84 kB / 0.6685 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1867, allocations: 0 / 0.6685 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.955e-05/0.1868, allocations: 45.7 kB / 0.6685 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1868, allocations: 8 kB / 0.6685 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.1868, allocations: 0 / 0.6685 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1868, allocations: 0 / 0.6685 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.187, allocations: 15.92 kB / 0.6685 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003509/0.1873, allocations: 0.582 MB / 0.6691 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.1874, allocations: 0 / 0.6691 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.1874, allocations: 4.125 kB / 0.6691 GB, free: 1.086 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.04e-05/0.1875, allocations: 117.8 kB / 0.6692 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-06/0.1875, allocations: 0 / 0.6692 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.1876, allocations: 48.75 kB / 0.6693 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1876, allocations: 0 / 0.6693 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1876, allocations: 0 / 0.6693 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1876, allocations: 0 / 0.6693 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.1877, allocations: 157.6 kB / 0.6694 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1877, allocations: 4.031 kB / 0.6694 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.761e-05/0.1878, allocations: 11.98 kB / 0.6694 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1878, allocations: 0 / 0.6694 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1878, allocations: 0 / 0.6694 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003755/0.1882, allocations: 0.5938 MB / 0.67 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1882, allocations: 0 / 0.67 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.245e-05/0.1883, allocations: 77.06 kB / 0.6701 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.1884, allocations: 81.05 kB / 0.6702 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1884, allocations: 3.938 kB / 0.6702 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.636e-05/0.1884, allocations: 4 kB / 0.6702 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.1884, allocations: 3.938 kB / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.1884, allocations: 0 / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.1885, allocations: 75.28 kB / 0.6703 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1885, allocations: 4.125 kB / 0.6703 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000216/0.1887, allocations: 11.94 kB / 0.6703 GB, free: 15.77 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.0001748/0.1889, allocations: 112.6 kB / 0.6704 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.1891, allocations: 19.98 kB / 0.6704 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.1891, allocations: 0 / 0.6704 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.1892, allocations: 19.92 kB / 0.6704 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.1893, allocations: 2.062 kB / 0.6704 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.1897, allocations: 111 kB / 0.6705 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.19, allocations: 0.6729 MB / 0.6712 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.448e-05/0.19, allocations: 0 / 0.6712 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.42e-05/0.19, allocations: 7.438 kB / 0.6712 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.19, allocations: 0 / 0.6712 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of Templates: time 0.002689/0.1927, allocations: 462.7 kB / 0.6716 GB, free: 14.33 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)