Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008811/0.0008811, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009648/0.0009648, allocations: 177.3 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9547/0.9547, allocations: 177.1 MB / 203.8 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.8195/0.8195, allocations: 154.6 MB / 414.8 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 480 MB, free: 6.734 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.411e-05, allocations: 3.672 kB / 480 MB, free: 6.73 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00322/0.003245, allocations: 1.567 MB / 481.6 MB, free: 5.191 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.00444, allocations: 0.6042 MB / 482.2 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.004477, allocations: 0 / 482.2 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.004508, allocations: 0.9062 kB / 482.2 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.458e-05/0.004572, allocations: 10.66 kB / 482.2 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.005241, allocations: 155.4 kB / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.005346, allocations: 56.47 kB / 482.4 MB, free: 4.395 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.005396, allocations: 4 kB / 482.4 MB, free: 4.391 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.005497, allocations: 32.48 kB / 482.5 MB, free: 4.359 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.005546, allocations: 28.55 kB / 482.5 MB, free: 4.332 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.005564, allocations: 4 kB / 482.5 MB, free: 4.328 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004789/0.006043, allocations: 276 kB / 482.8 MB, free: 4.059 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.006069, allocations: 16.56 kB / 482.8 MB, free: 4.043 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.006097, allocations: 19.92 kB / 482.8 MB, free: 4.023 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.006402, allocations: 180 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.006404, allocations: 0 / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.006405, allocations: 0.5938 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.00641, allocations: 0.8125 kB / 483 MB, free: 3.848 MB / 442.7 MB 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.0004387/0.006848, allocations: 296.2 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.006887, allocations: 9.812 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.006926, allocations: 12.92 kB / 483.3 MB, free: 3.516 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.59e-05/0.007022, allocations: 109.7 kB / 483.4 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.007049, allocations: 4.375 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.007076, allocations: 17.36 kB / 483.4 MB, free: 3.363 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.007278, allocations: 140.9 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.007294, allocations: 3.516 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.007306, allocations: 1.125 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.007313, allocations: 384 / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.103e-05/0.007364, allocations: 16.91 kB / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.007805, allocations: 212.9 kB / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.007935, allocations: 59.3 kB / 483.8 MB, free: 2.902 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.007961, allocations: 16.86 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.007977, allocations: 4.734 kB / 483.9 MB, free: 2.879 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.008006, allocations: 38.5 kB / 483.9 MB, free: 2.832 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.008007, allocations: 1.156 kB / 483.9 MB, free: 2.832 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.001058/0.009066, allocations: 438.4 kB / 484.3 MB, free: 2.352 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.009097, allocations: 55.41 kB / 484.4 MB, free: 2.285 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.235e-05/0.009169, allocations: 107.9 kB / 484.5 MB, free: 2.168 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.009186, allocations: 25.7 kB / 484.5 MB, free: 2.137 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.009224, allocations: 92.08 kB / 484.6 MB, free: 2.043 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.009262, allocations: 36.72 kB / 484.6 MB, free: 2.008 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.009313, allocations: 37.69 kB / 484.7 MB, free: 1.965 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.009404, allocations: 319.4 kB / 485 MB, free: 1.645 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/0.009433, allocations: 11.98 kB / 485 MB, free: 1.633 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.009459, allocations: 13.38 kB / 485 MB, free: 1.621 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.479e-05/0.009523, allocations: 40.95 kB / 485.1 MB, free: 1.578 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.009524, allocations: 0 / 485.1 MB, free: 1.578 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001105/0.009635, allocations: 72.98 kB / 485.1 MB, free: 1.504 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.009651, allocations: 4.531 kB / 485.1 MB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.009657, allocations: 0.875 kB / 485.1 MB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.009672, allocations: 6.766 kB / 485.1 MB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.009793, allocations: 32.64 kB / 485.2 MB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.009797, allocations: 0 / 485.2 MB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.456e-05/0.009831, allocations: 5.031 kB / 485.2 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.009839, allocations: 0 / 485.2 MB, free: 1.461 MB / 442.7 MB 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 7.941e-05/0.009918, allocations: 122.3 kB / 485.3 MB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.009951, allocations: 7.938 kB / 485.3 MB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.01011, allocations: 94.3 kB / 485.4 MB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01012, allocations: 5.344 kB / 485.4 MB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01012, allocations: 0 / 485.4 MB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01012, allocations: 0 / 485.4 MB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.01044, allocations: 234.8 kB / 485.6 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01044, allocations: 1.844 kB / 485.6 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.01057, allocations: 23.98 kB / 485.7 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01057, allocations: 3.938 kB / 485.7 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.01058, allocations: 4 kB / 485.7 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.01058, allocations: 4 kB / 485.7 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01058, allocations: 0.6875 kB / 485.7 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.01078, allocations: 184.5 kB / 485.8 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.01079, allocations: 11.94 kB / 485.9 MB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.01081, allocations: 0 / 485.9 MB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.01089, allocations: 8.688 kB / 485.9 MB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.01091, allocations: 7.984 kB / 485.9 MB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.01092, allocations: 1.906 kB / 485.9 MB, free: 0.7109 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.481e-05/0.01093, allocations: 8.859 kB / 485.9 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01093, allocations: 0 / 485.9 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002899/0.01122, allocations: 43.86 kB / 485.9 MB, free: 0.6562 MB / 442.7 MB 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.0001992/0.01142, allocations: 117 kB / 486 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.01154, allocations: 48.66 kB / 486.1 MB, free: 500 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.01155, allocations: 1.406 kB / 486.1 MB, free: 500 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.527e-05/0.01159, allocations: 36.72 kB / 486.1 MB, free: 460 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.0118, allocations: 11.94 kB / 486.1 MB, free: 448 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006522/0.01245, allocations: 234.7 kB / 486.4 MB, free: 208 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.701e-05/0.0125, allocations: 64.19 kB / 486.4 MB, free: 124 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.991e-05/0.01256, allocations: 16.19 kB / 486.4 MB, free: 112 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.01264, allocations: 71.36 kB / 486.5 MB, free: 40 kB / 442.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01264, allocations: 0 / 486.5 MB, free: 40 kB / 442.7 MB Notification: Performance of Templates: time 0.003965/0.01661, allocations: 1.29 MB / 487.8 MB, free: 14.89 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.533637721091509]