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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 107.2 kB / 17.12 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 196.2 kB / 20.08 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.066/1.066, allocations: 177.8 MB / 481.2 MB, free: 1.469 MB / 366.1 MB " [Timeout remaining time 179] 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=2500,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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 72.52 kB / 0.6694 GB, free: 9.113 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1807, allocations: 95.08 MB / 0.7623 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002751/0.1834, allocations: 1.245 MB / 0.7635 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1845, allocations: 0.586 MB / 0.7641 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.1845, allocations: 0 / 0.7641 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.1845, allocations: 7.984 kB / 0.7641 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.679e-05/0.1846, allocations: 0 / 0.7641 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006149/0.1852, allocations: 143.4 kB / 0.7642 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.149e-05/0.1852, allocations: 7.938 kB / 0.7642 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.1853, allocations: 4 kB / 0.7642 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.031e-05/0.1853, allocations: 7.938 kB / 0.7643 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.1853, allocations: 4 kB / 0.7643 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1853, allocations: 0 / 0.7643 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005288/0.1859, allocations: 347.3 kB / 0.7646 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.1859, allocations: 7.984 kB / 0.7646 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.1859, allocations: 3.938 kB / 0.7646 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1862, allocations: 139.6 kB / 0.7647 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1862, allocations: 0 / 0.7647 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1862, allocations: 0 / 0.7647 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1862, allocations: 3.938 kB / 0.7647 GB, free: 11.21 MB / 0.5762 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.0004133/0.1866, allocations: 356.5 kB / 0.7651 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1866, allocations: 8.031 kB / 0.7651 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.1867, allocations: 0.9375 kB / 0.7651 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1868, allocations: 168.4 kB / 0.7652 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1868, allocations: 384 / 0.7652 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-06/0.1868, allocations: 4.312 kB / 0.7653 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.262e-05/0.1869, allocations: 37.62 kB / 0.7653 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1869, allocations: 3.984 kB / 0.7653 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.1869, allocations: 0 / 0.7653 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1869, allocations: 4 kB / 0.7653 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.002e-05/0.187, allocations: 11.94 kB / 0.7653 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.1871, allocations: 153.7 kB / 0.7655 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.364e-05/0.1872, allocations: 22.58 kB / 0.7655 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.1872, allocations: 4.859 kB / 0.7655 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1872, allocations: 8 kB / 0.7655 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1873, allocations: 30.56 kB / 0.7655 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1873, allocations: 0 / 0.7655 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001381/0.1874, allocations: 49.72 kB / 0.7656 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.1874, allocations: 51.41 kB / 0.7656 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.1875, allocations: 93.86 kB / 0.7657 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1875, allocations: 25.7 kB / 0.7657 GB, free: 10 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.1876, allocations: 84.14 kB / 0.7658 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.1876, allocations: 7.953 kB / 0.7658 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.1876, allocations: 13.7 kB / 0.7658 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1877, allocations: 311 kB / 0.7661 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.1878, allocations: 8 kB / 0.7661 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.1878, allocations: 4 kB / 0.7661 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.1878, allocations: 12.86 kB / 0.7661 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1878, allocations: 0 / 0.7661 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.041e-05/0.1879, allocations: 49.56 kB / 0.7662 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1879, allocations: 4 kB / 0.7662 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1879, allocations: 3.984 kB / 0.7662 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1879, allocations: 0 / 0.7662 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1881, allocations: 12.09 kB / 0.7662 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004024/0.1885, allocations: 0.586 MB / 0.7668 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.1885, allocations: 4.031 kB / 0.7668 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.1885, allocations: 0 / 0.7668 GB, free: 8.863 MB / 0.5762 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.725e-05/0.1886, allocations: 113.7 kB / 0.7669 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-06/0.1886, allocations: 96 / 0.7669 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.1887, allocations: 52.81 kB / 0.767 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1887, allocations: 0 / 0.767 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1887, allocations: 7.875 kB / 0.767 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.1887, allocations: 0 / 0.767 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.1888, allocations: 157.6 kB / 0.7671 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1888, allocations: 3.984 kB / 0.7671 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-05/0.1889, allocations: 8 kB / 0.7671 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1889, allocations: 0 / 0.7671 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.1889, allocations: 0 / 0.7671 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003411/0.1892, allocations: 0.5898 MB / 0.7677 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1892, allocations: 0 / 0.7677 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.678e-05/0.1893, allocations: 61.16 kB / 0.7678 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.1893, allocations: 89 kB / 0.7678 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.1894, allocations: 3.938 kB / 0.7678 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.598e-05/0.1894, allocations: 8.125 kB / 0.7679 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.1894, allocations: 7.984 kB / 0.7679 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.1894, allocations: 0 / 0.7679 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.1894, allocations: 79.28 kB / 0.7679 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1894, allocations: 0 / 0.7679 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000206/0.1896, allocations: 8 kB / 0.7679 GB, free: 7.562 MB / 0.5762 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.0001712/0.1898, allocations: 115.1 kB / 0.7681 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.19, allocations: 24.08 kB / 0.7681 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.19, allocations: 0 / 0.7681 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.19, allocations: 11.98 kB / 0.7681 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.1902, allocations: 7.938 kB / 0.7681 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.1906, allocations: 131.7 kB / 0.7682 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1908, allocations: 0.6807 MB / 0.7689 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.1909, allocations: 11.44 kB / 0.7689 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.1909, allocations: 0 / 0.7689 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of Templates: time 0.002339/0.1932, allocations: 0.7018 MB / 0.7696 GB, free: 5.812 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.146826228999998] Failed to read output from testmodel.py, exit status != 0: 0.20051899697864428 0.21376102400000002 0.024846703 Calling exit ...