Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001274/0.001274, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001474/0.001474, allocations: 191.8 kB / 22.23 MB, free: 5.16 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.481/1.481, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.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.116/1.116, allocations: 177.9 MB / 484.2 MB, free: 5.375 MB / 382.1 MB " [Timeout remaining time 178] 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.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 64.64 kB / 0.674 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6226/0.6247, allocations: 95.16 MB / 0.7669 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00308/0.6278, allocations: 1.492 MB / 0.7684 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.629, allocations: 0.63 MB / 0.769 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.6291, allocations: 0 / 0.769 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.6291, allocations: 5.25 kB / 0.769 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.128e-05/0.6292, allocations: 10.48 kB / 0.769 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007191/0.6299, allocations: 158.9 kB / 0.7692 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.276e-05/0.63, allocations: 49.86 kB / 0.7692 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.63, allocations: 5.875 kB / 0.7692 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.096e-05/0.6301, allocations: 21.75 kB / 0.7692 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.064e-05/0.6301, allocations: 32.36 kB / 0.7693 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.6302, allocations: 5.312 kB / 0.7693 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006434/0.6308, allocations: 345.8 kB / 0.7696 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.6308, allocations: 10.52 kB / 0.7696 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.6309, allocations: 26.81 kB / 0.7696 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.6312, allocations: 178.2 kB / 0.7698 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6312, allocations: 0 / 0.7698 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6312, allocations: 2.484 kB / 0.7698 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.6312, allocations: 0 / 0.7698 GB, free: 6.711 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006702/0.6319, allocations: 328.4 kB / 0.7701 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.6319, allocations: 9.219 kB / 0.7701 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.632, allocations: 8.047 kB / 0.7701 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.6321, allocations: 116 kB / 0.7702 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.6321, allocations: 6.969 kB / 0.7703 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.6322, allocations: 13.23 kB / 0.7703 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.6324, allocations: 84.2 kB / 0.7703 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.6324, allocations: 5.125 kB / 0.7704 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.6324, allocations: 1.062 kB / 0.7704 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.6324, allocations: 1.031 kB / 0.7704 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.6327, allocations: 45.38 kB / 0.7704 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.6334, allocations: 292 kB / 0.7707 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.6337, allocations: 81.59 kB / 0.7708 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.6338, allocations: 31.78 kB / 0.7708 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.6338, allocations: 1.656 kB / 0.7708 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.6338, allocations: 31.56 kB / 0.7708 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.6338, allocations: 0.9375 kB / 0.7708 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001913/0.6358, allocations: 0.5058 MB / 0.7713 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.6358, allocations: 61.08 kB / 0.7714 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.6359, allocations: 94.58 kB / 0.7715 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.6359, allocations: 30.77 kB / 0.7715 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.6359, allocations: 91.17 kB / 0.7716 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.6359, allocations: 40.45 kB / 0.7716 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.636, allocations: 28.09 kB / 0.7716 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.636, allocations: 314.4 kB / 0.7719 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.6362, allocations: 40.92 kB / 0.772 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.6364, allocations: 35.55 kB / 0.772 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.6367, allocations: 74.11 kB / 0.7721 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.6367, allocations: 0.8125 kB / 0.7721 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003525/0.6371, allocations: 120 kB / 0.7722 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6371, allocations: 7 kB / 0.7722 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6371, allocations: 1.062 kB / 0.7722 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.6371, allocations: 7.938 kB / 0.7722 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.6373, allocations: 24.47 kB / 0.7722 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.6373, allocations: 1.062 kB / 0.7722 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.59e-05/0.6374, allocations: 9.109 kB / 0.7722 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.6374, allocations: 3.859 kB / 0.7723 GB, free: 4.711 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 (13): * Single equations (assignments): 13 * 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 0.0001057/0.6376, allocations: 116.7 kB / 0.7724 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.6376, allocations: 8.922 kB / 0.7724 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.6381, allocations: 135.2 kB / 0.7725 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6381, allocations: 3.938 kB / 0.7725 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6381, allocations: 1.5 kB / 0.7725 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6381, allocations: 0 / 0.7725 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.6387, allocations: 357.9 kB / 0.7728 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6387, allocations: 4.875 kB / 0.7729 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.6389, allocations: 28.52 kB / 0.7729 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6389, allocations: 0.625 kB / 0.7729 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.6389, allocations: 7.281 kB / 0.7729 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.6389, allocations: 0.7188 kB / 0.7729 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.6389, allocations: 0.7812 kB / 0.7729 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/0.6395, allocations: 248.1 kB / 0.7731 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.6395, allocations: 9.641 kB / 0.7731 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.6395, allocations: 6.422 kB / 0.7731 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.6397, allocations: 14.95 kB / 0.7732 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.6397, allocations: 5.469 kB / 0.7732 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.6398, allocations: 4.906 kB / 0.7732 GB, free: 4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.6398, allocations: 81.94 kB / 0.7732 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6398, allocations: 0.9062 kB / 0.7732 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003794/0.6402, allocations: 39.03 kB / 0.7733 GB, free: 3.91 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002099/0.6404, allocations: 124.9 kB / 0.7734 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004561/0.6408, allocations: 87.33 kB / 0.7735 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6408, allocations: 0 / 0.7735 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.641, allocations: 39.02 kB / 0.7735 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.6414, allocations: 15.12 kB / 0.7735 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007903/0.6422, allocations: 326.8 kB / 0.7738 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.6423, allocations: 0.696 MB / 0.7745 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.225e-05/0.6424, allocations: 16.62 kB / 0.7745 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.6424, allocations: 14.02 kB / 0.7746 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.6424, allocations: 0 / 0.7746 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of Templates: time 0.00507/0.6475, allocations: 1.191 MB / 0.7757 GB, free: 2.695 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.6695498982444406] Failed to read output from testmodel.py, exit status != 0: 0.6575304558500648 0.675325958 0.039943263 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9f04d317b0>