Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001326/0.001326, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.001652/0.001652, allocations: 173 kB / 23.28 MB, free: 1.215 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.9195/0.9195, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.7338/0.7338, allocations: 154.9 MB / 415.1 MB, free: 268 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.654e-05, allocations: 7.281 kB / 0.5211 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001498/0.001514, allocations: 1.318 MB / 0.5224 GB, free: 236 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007822/0.002297, allocations: 0.5725 MB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.973e-05/0.002326, allocations: 0 / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.002343, allocations: 5.562 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.274e-05/0.002376, allocations: 3.938 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.002779, allocations: 159.7 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.963e-05/0.002829, allocations: 28.88 kB / 0.5232 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.45e-05/0.002863, allocations: 4 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.782e-05/0.002901, allocations: 19.92 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.176e-05/0.002953, allocations: 13.09 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.002968, allocations: 4 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.003235, allocations: 267.4 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.003252, allocations: 12.67 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.003266, allocations: 4 kB / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.00345, allocations: 164.5 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003451, allocations: 0 / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.91e-07/0.003452, allocations: 1.562 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003456, allocations: 3.984 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003013/0.003757, allocations: 391.9 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.003791, allocations: 8.031 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.003817, allocations: 14.31 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.666e-05/0.003884, allocations: 108.6 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.003893, allocations: 4.375 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.003912, allocations: 9 kB / 0.5241 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.462e-05/0.003997, allocations: 97.59 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.004005, allocations: 1.469 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.004012, allocations: 4.375 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004017, allocations: 384 / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.311e-05/0.00404, allocations: 17.14 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.004144, allocations: 117.2 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.004214, allocations: 58.98 kB / 0.5244 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.004235, allocations: 24.67 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.004253, allocations: 4.844 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.004274, allocations: 33.39 kB / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 6.01e-07/0.004275, allocations: 0 / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0005859/0.004861, allocations: 431 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.004886, allocations: 55.34 kB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.502e-05/0.004941, allocations: 153.9 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.004952, allocations: 26.3 kB / 0.5251 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.004981, allocations: 131.5 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.005012, allocations: 43.62 kB / 0.5253 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.005044, allocations: 42.12 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003326/0.005377, allocations: 492.1 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.005394, allocations: 19.92 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.532e-05/0.005409, allocations: 14.88 kB / 0.5258 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.156e-05/0.005451, allocations: 39.66 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.005452, allocations: 0 / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.98e-05/0.005522, allocations: 81.69 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.00553, allocations: 7.031 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.005534, allocations: 0 / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.005543, allocations: 0 / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.0056, allocations: 27.92 kB / 0.526 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.005604, allocations: 4.25 kB / 0.526 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.244e-05/0.005616, allocations: 4 kB / 0.526 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.005621, allocations: 4 kB / 0.526 GB, free: 12.32 MB / 0.4948 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 5.209e-05/0.005673, allocations: 158.1 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.005686, allocations: 19.94 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.005789, allocations: 105.1 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.00579, allocations: 0 / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.005792, allocations: 3.938 kB / 0.5263 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005795, allocations: 0.5 kB / 0.5263 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.006005, allocations: 319 kB / 0.5266 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.006005, allocations: 0 / 0.5266 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.006062, allocations: 23.94 kB / 0.5266 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006063, allocations: 0.9375 kB / 0.5266 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.006068, allocations: 0 / 0.5266 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.006071, allocations: 8.547 kB / 0.5266 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.006072, allocations: 4 kB / 0.5266 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.006203, allocations: 243 kB / 0.5268 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.006209, allocations: 7.953 kB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-06/0.006217, allocations: 0 / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.949e-05/0.006256, allocations: 11.94 kB / 0.5269 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.006268, allocations: 3.984 kB / 0.5269 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.006272, allocations: 4 kB / 0.5269 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.006298, allocations: 123.2 kB / 0.527 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006298, allocations: 6.375 kB / 0.527 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001636/0.006462, allocations: 35.88 kB / 0.527 GB, free: 11.21 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0001218/0.006584, allocations: 139 kB / 0.5272 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.541e-05/0.006659, allocations: 54.53 kB / 0.5272 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.00666, allocations: 0 / 0.5272 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.306e-05/0.006684, allocations: 32.77 kB / 0.5272 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.006826, allocations: 11.98 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.007239, allocations: 248.6 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.727e-05/0.007266, allocations: 59.36 kB / 0.5275 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.007294, allocations: 12.48 kB / 0.5276 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.007339, allocations: 78.7 kB / 0.5276 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of SimCode: time 3.71e-07/0.007339, allocations: 1.594 kB / 0.5276 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of Templates: time 0.002174/0.009513, allocations: 1.068 MB / 0.5287 GB, free: 9.582 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3757883119396865]