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.001448/0.001448, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001803/0.001803, allocations: 165 kB / 23.01 MB, free: 1.555 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.9684/0.9684, allocations: 177.1 MB / 203.4 MB, free: 5.188 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.7572/0.7572, allocations: 154.8 MB / 414.7 MB, free: 452 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 2.575e-06/2.575e-06, allocations: 4.859 kB / 0.5206 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.748e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001893/0.00192, allocations: 1.311 MB / 0.5219 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008242/0.002744, allocations: 0.588 MB / 0.5224 GB, free: 28 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.002772, allocations: 0 / 0.5224 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.002793, allocations: 1.125 kB / 0.5224 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.623e-05/0.002829, allocations: 3.938 kB / 0.5224 GB, free: 24 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.003348, allocations: 160.3 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.646e-05/0.003405, allocations: 25.8 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.003441, allocations: 0 / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.69e-05/0.003478, allocations: 23.97 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.962e-05/0.003527, allocations: 11.92 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.003541, allocations: 0 / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.003836, allocations: 273 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.003853, allocations: 7.969 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.003876, allocations: 8 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.004083, allocations: 167.5 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004085, allocations: 0 / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.02e-07/0.004086, allocations: 1.469 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.00409, allocations: 0 / 0.5231 GB, free: 15.36 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.0005314/0.004622, allocations: 391.9 kB / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.004658, allocations: 13 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.004699, allocations: 9.234 kB / 0.5235 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.6e-05/0.004775, allocations: 112.6 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.004786, allocations: 5.344 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.004813, allocations: 4.375 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.004919, allocations: 94.16 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.004929, allocations: 5.156 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.004938, allocations: 4.375 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.004946, allocations: 4.375 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.377e-05/0.004979, allocations: 17.05 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.005114, allocations: 124.6 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.352e-05/0.005207, allocations: 67.56 kB / 0.5239 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.00524, allocations: 27.67 kB / 0.5239 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.005261, allocations: 5.75 kB / 0.5239 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.005283, allocations: 41.39 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.005284, allocations: 0 / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0008091/0.006093, allocations: 446.4 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.00612, allocations: 51.41 kB / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.006189, allocations: 159.5 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.006202, allocations: 29.7 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.006237, allocations: 130.9 kB / 0.5247 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.006274, allocations: 39.8 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.00631, allocations: 40.11 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.006418, allocations: 496.1 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/0.006447, allocations: 21.02 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.446e-05/0.006472, allocations: 15.98 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.405e-05/0.006536, allocations: 43.69 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.006537, allocations: 0.9375 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001047/0.006642, allocations: 92.55 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.006655, allocations: 7.25 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.006661, allocations: 4 kB / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.006676, allocations: 7.875 kB / 0.5255 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.006759, allocations: 16 kB / 0.5255 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.006765, allocations: 0 / 0.5255 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.006782, allocations: 7.984 kB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.006788, allocations: 0 / 0.5255 GB, free: 12.62 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 6.489e-05/0.006852, allocations: 160.6 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.006866, allocations: 14.8 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.007009, allocations: 101.6 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.007012, allocations: 3.938 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.007017, allocations: 7.984 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.007021, allocations: 3.984 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.007319, allocations: 329.5 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.00732, allocations: 3.938 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.053e-05/0.007401, allocations: 27.92 kB / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.007405, allocations: 5.406 kB / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.007414, allocations: 0 / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007415, allocations: 0 / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.007418, allocations: 4 kB / 0.5261 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.0076, allocations: 255.1 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.00761, allocations: 11.94 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.007624, allocations: 3.938 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.723e-05/0.007671, allocations: 4 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.007692, allocations: 17.2 kB / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.007698, allocations: 0 / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.007729, allocations: 123.8 kB / 0.5265 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007729, allocations: 0 / 0.5265 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001985/0.007927, allocations: 40.66 kB / 0.5266 GB, free: 11.46 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.0001747/0.008102, allocations: 131.6 kB / 0.5267 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.00822, allocations: 65.75 kB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.008222, allocations: 0 / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.343e-05/0.008256, allocations: 35.67 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.008424, allocations: 8.141 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.009057, allocations: 249.1 kB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.203e-05/0.009099, allocations: 63.34 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.602e-05/0.009135, allocations: 4 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.009164, allocations: 16.5 kB / 0.5271 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/0.009165, allocations: 4.875 kB / 0.5271 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.002678/0.01184, allocations: 0.9367 MB / 0.528 GB, free: 10.02 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.8766894368454814]