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.001347/0.001347, allocations: 115.1 kB / 17.08 MB, free: 5.789 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.001429/0.001429, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.48/1.48, allocations: 222.9 MB / 245.7 MB, free: 4.207 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/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.236/1.236, allocations: 173.4 MB / 471.3 MB, free: 6.645 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.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.001961/0.001962, allocations: 74.17 kB / 0.649 GB, free: 22.87 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1967, allocations: 89.52 MB / 0.7364 GB, free: 3.645 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00322/0.2, allocations: 1.463 MB / 0.7378 GB, free: 2.168 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.2012, allocations: 0.6237 MB / 0.7385 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.2013, allocations: 0 / 0.7385 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.2013, allocations: 7.922 kB / 0.7385 GB, free: 1.535 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.484e-05/0.2014, allocations: 7.922 kB / 0.7385 GB, free: 1.527 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.202, allocations: 155.4 kB / 0.7386 GB, free: 1.375 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.2021, allocations: 55.83 kB / 0.7387 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.981e-05/0.2022, allocations: 15.86 kB / 0.7387 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.2023, allocations: 23.92 kB / 0.7387 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.2023, allocations: 27.91 kB / 0.7387 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2024, allocations: 4 kB / 0.7387 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005509/0.2029, allocations: 339.4 kB / 0.7391 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.203, allocations: 19.91 kB / 0.7391 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.203, allocations: 23.92 kB / 0.7391 GB, free: 0.875 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.2033, allocations: 167.4 kB / 0.7393 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2033, allocations: 3.938 kB / 0.7393 GB, free: 0.707 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.787e-06/0.2034, allocations: 4 kB / 0.7393 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2034, allocations: 0 / 0.7393 GB, free: 0.7031 MB / 0.545 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.0007069/0.2041, allocations: 406.9 kB / 0.7397 GB, free: 264 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2041, allocations: 15.97 kB / 0.7397 GB, free: 248 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.2042, allocations: 8.891 kB / 0.7397 GB, free: 240 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.2043, allocations: 164.3 kB / 0.7398 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.2044, allocations: 4.375 kB / 0.7398 GB, free: 32 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.2044, allocations: 8.375 kB / 0.7399 GB, free: 24 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.2047, allocations: 81.58 kB / 0.7399 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2047, allocations: 4 kB / 0.7399 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.2048, allocations: 8 kB / 0.7399 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2048, allocations: 0 / 0.7399 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.205, allocations: 55.39 kB / 0.74 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006192/0.2057, allocations: 320.7 kB / 0.7403 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.206, allocations: 86.47 kB / 0.7404 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.2061, allocations: 28.84 kB / 0.7404 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.2061, allocations: 0 / 0.7404 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2062, allocations: 34.56 kB / 0.7404 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.2062, allocations: 0 / 0.7404 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001798/0.208, allocations: 0.6502 MB / 0.7411 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.2081, allocations: 55.41 kB / 0.7411 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.2082, allocations: 105.8 kB / 0.7412 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.2082, allocations: 29.7 kB / 0.7413 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.2083, allocations: 88.09 kB / 0.7413 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.2084, allocations: 43.58 kB / 0.7414 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.2084, allocations: 29.7 kB / 0.7414 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2086, allocations: 314.8 kB / 0.7417 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.2087, allocations: 35.97 kB / 0.7417 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.2089, allocations: 44.05 kB / 0.7418 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.2092, allocations: 72.92 kB / 0.7419 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2092, allocations: 3.938 kB / 0.7419 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003463/0.2095, allocations: 109.7 kB / 0.742 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2096, allocations: 4 kB / 0.742 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2096, allocations: 0 / 0.742 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.2096, allocations: 7.938 kB / 0.742 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.2098, allocations: 35.91 kB / 0.742 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.2098, allocations: 0 / 0.742 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.2099, allocations: 4 kB / 0.742 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.2099, allocations: 7.938 kB / 0.742 GB, free: 13.57 MB / 0.5606 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.0001225/0.21, allocations: 117.8 kB / 0.7421 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.2101, allocations: 7.953 kB / 0.7421 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.2105, allocations: 129.6 kB / 0.7423 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2105, allocations: 7.938 kB / 0.7423 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2105, allocations: 0 / 0.7423 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2105, allocations: 0 / 0.7423 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006526/0.2112, allocations: 382.5 kB / 0.7426 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.2112, allocations: 3.938 kB / 0.7426 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.2114, allocations: 27.92 kB / 0.7427 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2114, allocations: 0 / 0.7427 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2114, allocations: 4 kB / 0.7427 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2114, allocations: 8 kB / 0.7427 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2114, allocations: 3.984 kB / 0.7427 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.212, allocations: 247.4 kB / 0.7429 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.2121, allocations: 85 kB / 0.743 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2121, allocations: 4.031 kB / 0.743 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2122, allocations: 8.062 kB / 0.743 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.2122, allocations: 11.98 kB / 0.743 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.2123, allocations: 0 / 0.743 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.573e-05/0.2123, allocations: 83.27 kB / 0.7431 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2123, allocations: 0 / 0.7431 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003009/0.2126, allocations: 39.88 kB / 0.7431 GB, free: 12.31 MB / 0.5606 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.0002422/0.2129, allocations: 131 kB / 0.7433 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003665/0.2133, allocations: 87.94 kB / 0.7434 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2133, allocations: 0 / 0.7434 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.2134, allocations: 47.92 kB / 0.7434 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.2138, allocations: 18.2 kB / 0.7434 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007792/0.2146, allocations: 344.9 kB / 0.7437 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.215, allocations: 0.6962 MB / 0.7444 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.215, allocations: 19.44 kB / 0.7444 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.215, allocations: 0 / 0.7444 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.003557/0.2186, allocations: 1.32 MB / 0.7457 GB, free: 9.602 MB / 0.5606 GB " [Timeout remaining time 660] 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.350316619034857] Failed to read output from testmodel.py, exit status != 0: 0.22567933797836304 0.23981775700000002 0.033815776 Calling exit ...