Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.001346/0.001346, allocations: 112.2 kB / 17.08 MB, free: 5.781 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.001326/0.001326, allocations: 195.6 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.455/1.455, allocations: 222.9 MB / 245.7 MB, free: 4.176 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.226/1.226, allocations: 173.4 MB / 471.3 MB, free: 6.672 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 64.62 kB / 0.649 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2078, allocations: 89.52 MB / 0.7364 GB, free: 3.625 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002953/0.2108, allocations: 1.259 MB / 0.7376 GB, free: 2.355 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.212, allocations: 0.6037 MB / 0.7382 GB, free: 1.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.212, allocations: 0 / 0.7382 GB, free: 1.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.2121, allocations: 3.984 kB / 0.7382 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/0.2121, allocations: 3.938 kB / 0.7382 GB, free: 1.742 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006293/0.2128, allocations: 147.4 kB / 0.7384 GB, free: 1.598 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.283e-05/0.2129, allocations: 19.88 kB / 0.7384 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.2129, allocations: 7.984 kB / 0.7384 GB, free: 1.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.78e-05/0.213, allocations: 7.938 kB / 0.7384 GB, free: 1.562 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.213, allocations: 11.94 kB / 0.7384 GB, free: 1.551 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.213, allocations: 4 kB / 0.7384 GB, free: 1.547 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005556/0.2136, allocations: 343.3 kB / 0.7388 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.2136, allocations: 3.984 kB / 0.7388 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.2137, allocations: 7.938 kB / 0.7388 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.214, allocations: 143.6 kB / 0.7389 GB, free: 1.059 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.214, allocations: 3.938 kB / 0.7389 GB, free: 1.055 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.274e-06/0.214, allocations: 0 / 0.7389 GB, free: 1.055 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.214, allocations: 0 / 0.7389 GB, free: 1.055 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000483/0.2145, allocations: 367.1 kB / 0.7393 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.2145, allocations: 12.03 kB / 0.7393 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.2146, allocations: 0.9375 kB / 0.7393 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.2147, allocations: 168.3 kB / 0.7394 GB, free: 444 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.2147, allocations: 4.375 kB / 0.7394 GB, free: 440 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.2148, allocations: 4.328 kB / 0.7394 GB, free: 436 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.2149, allocations: 53.55 kB / 0.7395 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2149, allocations: 0 / 0.7395 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2149, allocations: 0 / 0.7395 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.2149, allocations: 4 kB / 0.7395 GB, free: 372 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.421e-05/0.215, allocations: 11.98 kB / 0.7395 GB, free: 360 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.2152, allocations: 157.7 kB / 0.7397 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.2154, allocations: 38.56 kB / 0.7397 GB, free: 104 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.2154, allocations: 16.86 kB / 0.7397 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.2155, allocations: 3.938 kB / 0.7397 GB, free: 80 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.2155, allocations: 46.5 kB / 0.7398 GB, free: 24 kB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2155, allocations: 0 / 0.7398 GB, free: 24 kB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0006722/0.2162, allocations: 298.4 kB / 0.74 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.2162, allocations: 51.41 kB / 0.7401 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.2163, allocations: 97.86 kB / 0.7402 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2163, allocations: 25.7 kB / 0.7402 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.2164, allocations: 80.14 kB / 0.7403 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.2164, allocations: 35.77 kB / 0.7403 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.2165, allocations: 17.72 kB / 0.7403 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2166, allocations: 318.8 kB / 0.7406 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.2167, allocations: 8 kB / 0.7406 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-05/0.2167, allocations: 12 kB / 0.7407 GB, free: 15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.414e-05/0.2168, allocations: 36.78 kB / 0.7407 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2168, allocations: 0 / 0.7407 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001079/0.2169, allocations: 77.67 kB / 0.7408 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.2169, allocations: 10.33 kB / 0.7408 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2169, allocations: 4 kB / 0.7408 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.217, allocations: 3.938 kB / 0.7408 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.217, allocations: 12.06 kB / 0.7408 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.217, allocations: 4 kB / 0.7408 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/0.217, allocations: 0 / 0.7408 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.2171, allocations: 0 / 0.7408 GB, free: 14.85 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 (7): * Single equations (assignments): 7 * 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 8.931e-05/0.2172, allocations: 117.8 kB / 0.7409 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/0.2172, allocations: 0 / 0.7409 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.2173, allocations: 81.58 kB / 0.741 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2173, allocations: 0.5156 kB / 0.741 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2174, allocations: 0 / 0.741 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2174, allocations: 0 / 0.741 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.2177, allocations: 319.3 kB / 0.7413 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2178, allocations: 0 / 0.7413 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-05/0.2178, allocations: 15.98 kB / 0.7413 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2178, allocations: 0 / 0.7413 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2178, allocations: 0 / 0.7413 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2179, allocations: 4.031 kB / 0.7413 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2179, allocations: 7.984 kB / 0.7413 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.2181, allocations: 188.2 kB / 0.7415 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.2181, allocations: 81.14 kB / 0.7416 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2182, allocations: 0 / 0.7416 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.2182, allocations: 7.984 kB / 0.7416 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.2183, allocations: 4 kB / 0.7416 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.2183, allocations: 8.062 kB / 0.7416 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.656e-05/0.2183, allocations: 79.22 kB / 0.7417 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2183, allocations: 0 / 0.7417 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000253/0.2186, allocations: 19.94 kB / 0.7417 GB, free: 13.81 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 (6): * Single equations (assignments): 6 * 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.0002012/0.2188, allocations: 127.1 kB / 0.7418 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001198/0.2189, allocations: 32.12 kB / 0.7418 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2189, allocations: 3.938 kB / 0.7418 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/0.219, allocations: 27.98 kB / 0.7419 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.2192, allocations: 4 kB / 0.7419 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.2197, allocations: 213.8 kB / 0.7421 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.22, allocations: 0.6827 MB / 0.7428 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.22, allocations: 11.44 kB / 0.7428 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.22, allocations: 0 / 0.7428 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of Templates: time 0.002535/0.2226, allocations: 0.8047 MB / 0.7435 GB, free: 11.85 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.51625779690221] Failed to read output from testmodel.py, exit status != 0: 0.22938126884400845 0.243092938 0.026450225 Calling exit ...