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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.002258/0.002258, allocations: 189 kB / 22.22 MB, free: 5.105 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.541/1.541, allocations: 225.6 MB / 251 MB, free: 13 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.164/1.164, allocations: 177.9 MB / 484.2 MB, free: 5.414 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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 64.89 kB / 0.674 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7318, allocations: 95.15 MB / 0.7669 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00322/0.735, allocations: 1.262 MB / 0.7681 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.7364, allocations: 0.5938 MB / 0.7687 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.7364, allocations: 0 / 0.7687 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.7364, allocations: 1.781 kB / 0.7687 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.666e-05/0.7365, allocations: 0 / 0.7687 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000715/0.7372, allocations: 140.5 kB / 0.7689 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.027e-05/0.7373, allocations: 14.7 kB / 0.7689 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.396e-05/0.7374, allocations: 1.875 kB / 0.7689 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.001e-05/0.7374, allocations: 8.078 kB / 0.7689 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.987e-05/0.7375, allocations: 6.5 kB / 0.7689 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.7375, allocations: 1.281 kB / 0.7689 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007395/0.7382, allocations: 342.7 kB / 0.7692 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.7382, allocations: 1.312 kB / 0.7692 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.7383, allocations: 5.344 kB / 0.7692 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.7386, allocations: 144.2 kB / 0.7694 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.7387, allocations: 0 / 0.7694 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7387, allocations: 5.094 kB / 0.7694 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.7387, allocations: 0 / 0.7694 GB, free: 6.758 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.0004576/0.7391, allocations: 276.6 kB / 0.7696 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.7392, allocations: 9.812 kB / 0.7696 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.7392, allocations: 0.9375 kB / 0.7696 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.516e-05/0.7393, allocations: 104.7 kB / 0.7697 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.7393, allocations: 2.484 kB / 0.7697 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.7393, allocations: 4.312 kB / 0.7697 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.7394, allocations: 43.38 kB / 0.7698 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.7395, allocations: 0 / 0.7698 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.7395, allocations: 1.375 kB / 0.7698 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.7395, allocations: 4 kB / 0.7698 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.607e-05/0.7395, allocations: 6.969 kB / 0.7698 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.7397, allocations: 121.8 kB / 0.7699 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.897e-05/0.7397, allocations: 21.38 kB / 0.7699 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.7398, allocations: 7.578 kB / 0.7699 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.7398, allocations: 7.938 kB / 0.77 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.7398, allocations: 38.11 kB / 0.77 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7398, allocations: 0 / 0.77 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000192/0.74, allocations: 39.95 kB / 0.77 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.7401, allocations: 53.47 kB / 0.7701 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.928e-05/0.7401, allocations: 96.7 kB / 0.7702 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.475e-06/0.7401, allocations: 25.95 kB / 0.7702 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.677e-05/0.7401, allocations: 85.52 kB / 0.7703 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.7402, allocations: 9.969 kB / 0.7703 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.7402, allocations: 16.38 kB / 0.7703 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.7403, allocations: 316.1 kB / 0.7706 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.7403, allocations: 2.781 kB / 0.7706 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/0.7403, allocations: 2.219 kB / 0.7706 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/0.7403, allocations: 13.98 kB / 0.7706 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7403, allocations: 6.125 kB / 0.7706 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.867e-05/0.7404, allocations: 42.83 kB / 0.7707 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.7404, allocations: 4.938 kB / 0.7707 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7404, allocations: 2.969 kB / 0.7707 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.7404, allocations: 0 / 0.7707 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.7406, allocations: 15.44 kB / 0.7707 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002907/0.7409, allocations: 0.5817 MB / 0.7713 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.741, allocations: 4.125 kB / 0.7713 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.741, allocations: 1.031 kB / 0.7713 GB, free: 4.746 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 6.767e-05/0.741, allocations: 122.9 kB / 0.7714 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.741, allocations: 0 / 0.7714 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.7412, allocations: 50.33 kB / 0.7714 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.7412, allocations: 1.156 kB / 0.7714 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7412, allocations: 3.938 kB / 0.7714 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7412, allocations: 4.031 kB / 0.7714 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.471e-05/0.7412, allocations: 122.1 kB / 0.7716 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7412, allocations: 0 / 0.7716 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-05/0.7413, allocations: 10.64 kB / 0.7716 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7413, allocations: 0 / 0.7716 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.7413, allocations: 5.312 kB / 0.7716 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002102/0.7416, allocations: 0.5893 MB / 0.7721 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7416, allocations: 0 / 0.7721 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.38e-05/0.7416, allocations: 64.3 kB / 0.7722 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.7416, allocations: 5.391 kB / 0.7722 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.7417, allocations: 4.688 kB / 0.7722 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/0.7417, allocations: 1.312 kB / 0.7722 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.7417, allocations: 6.062 kB / 0.7722 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.7417, allocations: 1.375 kB / 0.7722 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.643e-05/0.7417, allocations: 81.59 kB / 0.7723 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7417, allocations: 0 / 0.7723 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002711/0.742, allocations: 10.94 kB / 0.7723 GB, free: 3.652 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.0001689/0.7422, allocations: 107.5 kB / 0.7724 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.7424, allocations: 24.12 kB / 0.7724 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7424, allocations: 0 / 0.7724 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.666e-05/0.7425, allocations: 10.47 kB / 0.7724 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.7427, allocations: 5.375 kB / 0.7725 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.7431, allocations: 114.3 kB / 0.7726 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.7432, allocations: 0.6736 MB / 0.7732 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.803e-05/0.7432, allocations: 0 / 0.7732 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.7432, allocations: 12.38 kB / 0.7732 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.7432, allocations: 5.062 kB / 0.7732 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of Templates: time 0.00396/0.7472, allocations: 476.9 kB / 0.7737 GB, free: 2.629 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.019424103200436] Failed to read output from testmodel.py, exit status != 0: 0.7568604620173573 0.7735123610000001 0.031463712000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbb69db57b0>