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.001284/0.001284, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001422/0.001422, allocations: 166.5 kB / 22.46 MB, free: 5.363 MB / 14.72 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 1.416/1.416, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.213/1.213, allocations: 154.5 MB / 413.7 MB, free: 5.297 MB / 382.1 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 178] 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.372e-06/1.372e-06, allocations: 0 / 0.6185 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.888e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002439/0.002468, allocations: 1.28 MB / 0.6198 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.003542, allocations: 0.5364 MB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.003571, allocations: 0 / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.003595, allocations: 3.938 kB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.209e-05/0.003637, allocations: 13.06 kB / 0.6203 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.00419, allocations: 140.6 kB / 0.6205 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.831e-05/0.004258, allocations: 27.88 kB / 0.6205 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.0043, allocations: 3.984 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.764e-05/0.004357, allocations: 15.98 kB / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.004398, allocations: 3.984 kB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.004412, allocations: 4 kB / 0.6205 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.004856, allocations: 263.4 kB / 0.6208 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.004869, allocations: 0 / 0.6208 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.004903, allocations: 15.97 kB / 0.6208 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.005195, allocations: 159.4 kB / 0.6209 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.005199, allocations: 0 / 0.6209 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005199, allocations: 0 / 0.6209 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.005209, allocations: 0 / 0.6209 GB, free: 2.191 MB / 0.5294 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.0004658/0.005675, allocations: 286 kB / 0.6212 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.005709, allocations: 13.47 kB / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.005742, allocations: 8.875 kB / 0.6212 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.005867, allocations: 117.7 kB / 0.6213 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.005882, allocations: 8.312 kB / 0.6213 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.005906, allocations: 4.375 kB / 0.6213 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.006038, allocations: 63.95 kB / 0.6214 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.006047, allocations: 192 / 0.6214 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.006056, allocations: 384 / 0.6214 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.006061, allocations: 4.375 kB / 0.6214 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.002e-05/0.006101, allocations: 11.88 kB / 0.6214 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.006254, allocations: 109.3 kB / 0.6215 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.006479, allocations: 46.61 kB / 0.6216 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.00652, allocations: 12.86 kB / 0.6216 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.00654, allocations: 4 kB / 0.6216 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.006567, allocations: 30.56 kB / 0.6216 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.006568, allocations: 0 / 0.6216 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006186/0.007187, allocations: 237.2 kB / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.007225, allocations: 55.34 kB / 0.6219 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.007305, allocations: 93.86 kB / 0.622 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.007328, allocations: 29.7 kB / 0.622 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.007367, allocations: 84.14 kB / 0.6221 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.007396, allocations: 23.83 kB / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.007434, allocations: 17.72 kB / 0.6221 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.007589, allocations: 322.8 kB / 0.6224 GB, free: 452 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.572e-05/0.007615, allocations: 8 kB / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.899e-05/0.007644, allocations: 8 kB / 0.6225 GB, free: 436 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.551e-05/0.007709, allocations: 36.84 kB / 0.6225 GB, free: 396 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.00771, allocations: 0 / 0.6225 GB, free: 396 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001067/0.007817, allocations: 65.59 kB / 0.6226 GB, free: 324 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.007829, allocations: 4 kB / 0.6226 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.007833, allocations: 0 / 0.6226 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.007851, allocations: 8.5 kB / 0.6226 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.007905, allocations: 16 kB / 0.6226 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.007912, allocations: 3.938 kB / 0.6226 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.007929, allocations: 0 / 0.6226 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.007934, allocations: 0 / 0.6226 GB, free: 292 kB / 0.5294 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 9.426e-05/0.008028, allocations: 114.8 kB / 0.6227 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.008039, allocations: 3.938 kB / 0.6227 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.008186, allocations: 86.02 kB / 0.6228 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.00819, allocations: 3.984 kB / 0.6228 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.008196, allocations: 3.938 kB / 0.6228 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.008198, allocations: 4 kB / 0.6228 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.008566, allocations: 263 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.00857, allocations: 4 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.278e-05/0.008632, allocations: 8 kB / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008635, allocations: 3.938 kB / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.008646, allocations: 7.938 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.008647, allocations: 0 / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008648, allocations: 0 / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.008856, allocations: 180.4 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.008874, allocations: 3.938 kB / 0.6232 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.008898, allocations: 12.03 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.008973, allocations: 3.984 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.008996, allocations: 8 kB / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.009001, allocations: 0 / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.009045, allocations: 79.28 kB / 0.6233 GB, free: 15.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.009045, allocations: 0 / 0.6233 GB, free: 15.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002521/0.009297, allocations: 27.86 kB / 0.6234 GB, free: 15.4 MB / 0.545 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.0002053/0.009502, allocations: 118 kB / 0.6235 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.009618, allocations: 35.92 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.009621, allocations: 4 kB / 0.6235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.009e-05/0.009651, allocations: 12 kB / 0.6235 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.009881, allocations: 10.66 kB / 0.6235 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.01031, allocations: 170 kB / 0.6237 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.828e-05/0.01038, allocations: 71.34 kB / 0.6238 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.733e-05/0.01041, allocations: 3.984 kB / 0.6238 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.01043, allocations: 12.5 kB / 0.6238 GB, free: 14.92 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.01043, allocations: 0 / 0.6238 GB, free: 14.92 MB / 0.545 GB Notification: Performance of Templates: time 0.003402/0.01383, allocations: 0.6208 MB / 0.6244 GB, free: 14.34 MB / 0.545 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 sys.exit(0), Time elapsed: 5.625607211142778] Failed to read output from testmodel.py, exit status != 0: 0.022715415805578232 0.037843742 0.029405925000000003 Calling exit ...