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.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.0009067/0.0009067, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001493/0.001493, allocations: 177 kB / 23.36 MB, free: 1.129 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.9727/0.9727, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7811/0.7811, allocations: 154.9 MB / 415.1 MB, free: 212 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_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 1.473e-06/1.473e-06, allocations: 0 / 480.4 MB, free: 6.465 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.543e-05, allocations: 2.312 kB / 480.4 MB, free: 6.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001982/0.001998, allocations: 1.353 MB / 481.8 MB, free: 5.133 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008404/0.002838, allocations: 0.5832 MB / 482.3 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.002865, allocations: 0 / 482.3 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.002882, allocations: 0 / 482.3 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.002934, allocations: 6.922 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.003359, allocations: 142.5 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.383e-05/0.003412, allocations: 23.42 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.931e-05/0.003442, allocations: 9.922 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.003493, allocations: 7.984 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.847e-05/0.003532, allocations: 4 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.003543, allocations: 4 kB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.003858, allocations: 275.4 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.003875, allocations: 9.641 kB / 482.8 MB, free: 4.113 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.003892, allocations: 15.92 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.004071, allocations: 147.6 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004073, allocations: 3.938 kB / 483 MB, free: 3.949 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004074, allocations: 1.25 kB / 483 MB, free: 3.949 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.004077, allocations: 0 / 483 MB, free: 3.949 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002512/0.004328, allocations: 263.4 kB / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.00436, allocations: 8.781 kB / 483.2 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.004386, allocations: 8.922 kB / 483.3 MB, free: 3.652 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.555e-05/0.004461, allocations: 106.8 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.00447, allocations: 384 / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.004488, allocations: 4.953 kB / 483.4 MB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.733e-05/0.004565, allocations: 71.89 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.004571, allocations: 0.8125 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.004577, allocations: 1 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004582, allocations: 384 / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.907e-05/0.004601, allocations: 8.562 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.704e-05/0.004688, allocations: 68.97 kB / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.004811, allocations: 40.16 kB / 483.6 MB, free: 3.301 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.004829, allocations: 12.86 kB / 483.6 MB, free: 3.285 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.004841, allocations: 4 kB / 483.6 MB, free: 3.281 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.00486, allocations: 36.06 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.004861, allocations: 0 / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004625/0.005323, allocations: 229.3 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.005349, allocations: 55.41 kB / 483.9 MB, free: 2.918 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.589e-05/0.005394, allocations: 103.7 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.005408, allocations: 25.7 kB / 484 MB, free: 2.773 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.159e-05/0.00543, allocations: 80.14 kB / 484.1 MB, free: 2.691 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.005459, allocations: 28.31 kB / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.005488, allocations: 22.97 kB / 484.1 MB, free: 2.637 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.005559, allocations: 318.8 kB / 484.4 MB, free: 2.316 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.005568, allocations: 8 kB / 484.5 MB, free: 2.309 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-06/0.005577, allocations: 4 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.005608, allocations: 33.38 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.005609, allocations: 1.219 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.2e-05/0.005661, allocations: 45.69 kB / 484.5 MB, free: 2.219 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.005671, allocations: 4 kB / 484.5 MB, free: 2.215 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.005675, allocations: 0 / 484.5 MB, free: 2.215 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.005685, allocations: 5.062 kB / 484.5 MB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.626e-05/0.005722, allocations: 11.98 kB / 484.6 MB, free: 2.199 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.005724, allocations: 1.062 kB / 484.6 MB, free: 2.199 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.005736, allocations: 3.938 kB / 484.6 MB, free: 2.195 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-06/0.005741, allocations: 7.938 kB / 484.6 MB, free: 2.188 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 (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 4.902e-05/0.00579, allocations: 114.4 kB / 484.7 MB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.005799, allocations: 8.609 kB / 484.7 MB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.414e-05/0.005873, allocations: 49.81 kB / 484.7 MB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.005875, allocations: 5.562 kB / 484.7 MB, free: 2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.005877, allocations: 128 / 484.7 MB, free: 2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.005881, allocations: 4 kB / 484.8 MB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.006038, allocations: 212.3 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006039, allocations: 0 / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.006077, allocations: 15.98 kB / 485 MB, free: 1.746 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.00608, allocations: 6 kB / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.006085, allocations: 0 / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.006087, allocations: 0 / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006087, allocations: 0 / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.006193, allocations: 164.3 kB / 485.1 MB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.006207, allocations: 4.562 kB / 485.1 MB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-06/0.006217, allocations: 4.703 kB / 485.1 MB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.409e-05/0.006251, allocations: 0 / 485.1 MB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.006264, allocations: 9.281 kB / 485.2 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.006268, allocations: 4 kB / 485.2 MB, free: 1.543 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.007e-06/0.006277, allocations: 10.41 kB / 485.2 MB, free: 1.531 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006278, allocations: 0 / 485.2 MB, free: 1.531 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.006425, allocations: 24.55 kB / 485.2 MB, free: 1.508 MB / 442.7 MB 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.0001043/0.006529, allocations: 106.2 kB / 485.3 MB, free: 1.398 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.58e-05/0.006585, allocations: 33.08 kB / 485.3 MB, free: 1.363 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.006587, allocations: 3.938 kB / 485.3 MB, free: 1.359 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.006601, allocations: 16.8 kB / 485.4 MB, free: 1.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.006705, allocations: 12.94 kB / 485.4 MB, free: 1.332 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.007078, allocations: 178.4 kB / 485.5 MB, free: 1.152 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.126e-05/0.007109, allocations: 63.28 kB / 485.6 MB, free: 1.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.074e-05/0.00713, allocations: 9.109 kB / 485.6 MB, free: 1.062 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.007166, allocations: 55.38 kB / 485.7 MB, free: 1.008 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007167, allocations: 0.7188 kB / 485.7 MB, free: 1.008 MB / 442.7 MB Notification: Performance of Templates: time 0.002019/0.009186, allocations: 0.7265 MB / 486.4 MB, free: 372 kB / 442.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4031095528043807]