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.001413/0.001413, allocations: 108.3 kB / 18.7 MB, free: 3.145 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.006522/0.006522, allocations: 185.7 kB / 21.95 MB, free: 5.648 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.426/1.426, allocations: 225.6 MB / 250.7 MB, free: 13.34 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/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.061/1.061, allocations: 175.8 MB / 481.6 MB, free: 7.785 MB / 382.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.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.002001/0.002001, allocations: 72.2 kB / 0.6701 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5556/0.5576, allocations: 94.53 MB / 0.7624 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002552/0.5602, allocations: 1.487 MB / 0.7638 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.5612, allocations: 0.63 MB / 0.7644 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.5612, allocations: 1 kB / 0.7644 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.5613, allocations: 7.047 kB / 0.7645 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.222e-05/0.5613, allocations: 6.469 kB / 0.7645 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.5619, allocations: 161.8 kB / 0.7646 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.434e-05/0.562, allocations: 45.81 kB / 0.7647 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.295e-05/0.562, allocations: 11.75 kB / 0.7647 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/0.5621, allocations: 21.69 kB / 0.7647 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.5622, allocations: 30.56 kB / 0.7647 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.5622, allocations: 4.281 kB / 0.7647 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006125/0.5628, allocations: 348.5 kB / 0.7651 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.5628, allocations: 8.562 kB / 0.7651 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.5629, allocations: 27.17 kB / 0.7651 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.5632, allocations: 183.4 kB / 0.7653 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5632, allocations: 0.5625 kB / 0.7653 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5632, allocations: 6.625 kB / 0.7653 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.5632, allocations: 0 / 0.7653 GB, free: 8.734 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.0005558/0.5638, allocations: 402.4 kB / 0.7657 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.5638, allocations: 8.969 kB / 0.7657 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.5638, allocations: 8.812 kB / 0.7657 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.564, allocations: 173.3 kB / 0.7658 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.564, allocations: 4.719 kB / 0.7658 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.564, allocations: 17.09 kB / 0.7659 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.5642, allocations: 84.45 kB / 0.7659 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5643, allocations: 0 / 0.7659 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5643, allocations: 1.125 kB / 0.7659 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.5643, allocations: 3.172 kB / 0.7659 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.5645, allocations: 52 kB / 0.766 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.565, allocations: 321.4 kB / 0.7663 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.5652, allocations: 73.84 kB / 0.7664 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.943e-05/0.5653, allocations: 28.41 kB / 0.7664 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.5654, allocations: 1.344 kB / 0.7664 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.5654, allocations: 40.48 kB / 0.7664 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.5654, allocations: 3.938 kB / 0.7664 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001491/0.5669, allocations: 0.6476 MB / 0.7671 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.5669, allocations: 52.59 kB / 0.7671 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.497e-05/0.567, allocations: 101.5 kB / 0.7672 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.567, allocations: 27.14 kB / 0.7672 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.567, allocations: 96.88 kB / 0.7673 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.567, allocations: 39.41 kB / 0.7674 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.5671, allocations: 31.88 kB / 0.7674 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.5671, allocations: 319.2 kB / 0.7677 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.5673, allocations: 28.52 kB / 0.7677 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.5674, allocations: 33.62 kB / 0.7678 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.5676, allocations: 70.5 kB / 0.7678 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5676, allocations: 0.8906 kB / 0.7678 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000318/0.5679, allocations: 127.2 kB / 0.768 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.5679, allocations: 4.719 kB / 0.768 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5679, allocations: 1.797 kB / 0.768 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.568, allocations: 3.938 kB / 0.768 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.5681, allocations: 31.42 kB / 0.768 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.5681, allocations: 0 / 0.768 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.594e-05/0.5682, allocations: 5.438 kB / 0.768 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.5682, allocations: 2.656 kB / 0.768 GB, free: 6.367 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 6.146e-05/0.5682, allocations: 124.8 kB / 0.7681 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.5683, allocations: 11.64 kB / 0.7681 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.5686, allocations: 121.6 kB / 0.7683 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5686, allocations: 7.109 kB / 0.7683 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5686, allocations: 0.875 kB / 0.7683 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5686, allocations: 0.6562 kB / 0.7683 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.5691, allocations: 387.8 kB / 0.7686 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5691, allocations: 4.641 kB / 0.7686 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.5692, allocations: 24.75 kB / 0.7687 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5693, allocations: 1.938 kB / 0.7687 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.5693, allocations: 7.141 kB / 0.7687 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5693, allocations: 0 / 0.7687 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5693, allocations: 1.094 kB / 0.7687 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.5697, allocations: 254.6 kB / 0.7689 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.5697, allocations: 86.89 kB / 0.769 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.5697, allocations: 9 kB / 0.769 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.5699, allocations: 7.047 kB / 0.769 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.5699, allocations: 5.844 kB / 0.769 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.5699, allocations: 3.672 kB / 0.769 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.631e-05/0.5699, allocations: 84.45 kB / 0.7691 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5699, allocations: 0 / 0.7691 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002992/0.5702, allocations: 43.72 kB / 0.7691 GB, free: 5.453 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.0002073/0.5704, allocations: 130.8 kB / 0.7693 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.5707, allocations: 84.98 kB / 0.7693 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.5708, allocations: 0 / 0.7693 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.5709, allocations: 45.52 kB / 0.7694 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.5712, allocations: 14.41 kB / 0.7694 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.5718, allocations: 356.7 kB / 0.7697 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.572, allocations: 0.69 MB / 0.7704 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.572, allocations: 22.41 kB / 0.7704 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.572, allocations: 7.938 kB / 0.7704 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.003264/0.5753, allocations: 1.318 MB / 0.7717 GB, free: 4.215 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 os._exit(0), Time elapsed: 8.465327226091176] Failed to read output from testmodel.py, exit status != 0: 0.5837964820675552 0.596045888 0.029714196000000002 Calling exit ...