Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0009774/0.0009774, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001012/0.001012, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9176/0.9176, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.8089/0.8089, allocations: 154.9 MB / 415.9 MB, free: 260 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 0.5219 GB, free: 1.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.541e-05, allocations: 4.281 kB / 0.5219 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001584/0.0016, allocations: 1.319 MB / 0.5232 GB, free: 228 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007441/0.002344, allocations: 0.5702 MB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.00237, allocations: 0 / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.002388, allocations: 0.8438 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 3.794e-05/0.002426, allocations: 7.922 kB / 0.5237 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.002841, allocations: 145.6 kB / 0.5239 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.523e-05/0.002896, allocations: 27.84 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.266e-05/0.002928, allocations: 4 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.585e-05/0.002974, allocations: 7.984 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.003014, allocations: 4.938 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.003025, allocations: 0 / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.003308, allocations: 275.4 kB / 0.5242 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.003322, allocations: 5.359 kB / 0.5242 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.003338, allocations: 11.94 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.003521, allocations: 150.8 kB / 0.5244 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.003524, allocations: 0.6562 kB / 0.5244 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003524, allocations: 0 / 0.5244 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.003528, allocations: 0.8125 kB / 0.5244 GB, free: 15.04 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003057/0.003834, allocations: 391.9 kB / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.003868, allocations: 13.03 kB / 0.5247 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.003894, allocations: 5.234 kB / 0.5247 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.52e-05/0.003969, allocations: 108.6 kB / 0.5248 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-06/0.003978, allocations: 4.875 kB / 0.5249 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.003991, allocations: 5.281 kB / 0.5249 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.185e-05/0.004063, allocations: 63.95 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.00407, allocations: 192 / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-06/0.004075, allocations: 1 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.00408, allocations: 0.9688 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.278e-05/0.004103, allocations: 11.92 kB / 0.5249 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.004238, allocations: 105.8 kB / 0.525 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.004373, allocations: 47.86 kB / 0.5251 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.004397, allocations: 27.75 kB / 0.5251 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.004409, allocations: 0.9688 kB / 0.5251 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.004434, allocations: 37.39 kB / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.004435, allocations: 1.75 kB / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0004259/0.004861, allocations: 225.7 kB / 0.5254 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.004887, allocations: 51.41 kB / 0.5254 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.218e-05/0.004949, allocations: 161.9 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.004959, allocations: 27.45 kB / 0.5256 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.004996, allocations: 126.9 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.005022, allocations: 27.78 kB / 0.5257 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.005049, allocations: 23.36 kB / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.005153, allocations: 0.4884 MB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.005163, allocations: 8.688 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.028e-05/0.005174, allocations: 11.97 kB / 0.5263 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.005203, allocations: 25.23 kB / 0.5263 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.005203, allocations: 0 / 0.5263 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.596e-05/0.005259, allocations: 61.64 kB / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.005271, allocations: 11.94 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.005274, allocations: 1.031 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.005282, allocations: 0 / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.241e-05/0.005314, allocations: 17.08 kB / 0.5264 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.005318, allocations: 4 kB / 0.5264 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.116e-05/0.005329, allocations: 3.938 kB / 0.5264 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.005333, allocations: 0 / 0.5264 GB, free: 12.74 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 (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 6.027e-05/0.005393, allocations: 163.7 kB / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-06/0.005399, allocations: 0 / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.596e-05/0.005475, allocations: 61.81 kB / 0.5266 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.005477, allocations: 3.984 kB / 0.5266 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.005479, allocations: 0 / 0.5266 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.005482, allocations: 3.938 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.005658, allocations: 293.7 kB / 0.5269 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005659, allocations: 3.031 kB / 0.5269 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.005696, allocations: 12 kB / 0.5269 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.005698, allocations: 4 kB / 0.5269 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.005705, allocations: 7.922 kB / 0.5269 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.005706, allocations: 192 / 0.5269 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.005708, allocations: 3.938 kB / 0.5269 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.005836, allocations: 227.6 kB / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.005849, allocations: 7.984 kB / 0.5271 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-06/0.005857, allocations: 1.5 kB / 0.5271 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.325e-05/0.00589, allocations: 0 / 0.5271 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.005903, allocations: 7.938 kB / 0.5271 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.005907, allocations: 3.984 kB / 0.5271 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.021e-05/0.005937, allocations: 129.1 kB / 0.5273 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005937, allocations: 0 / 0.5273 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001588/0.006096, allocations: 19.94 kB / 0.5273 GB, free: 11.74 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001105/0.006206, allocations: 124.3 kB / 0.5274 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.484e-05/0.006271, allocations: 35.66 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.006272, allocations: 0.6562 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.827e-05/0.006291, allocations: 24.23 kB / 0.5275 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.006442, allocations: 9.312 kB / 0.5275 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.006809, allocations: 186.5 kB / 0.5276 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.86e-05/0.006838, allocations: 59.34 kB / 0.5277 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.006858, allocations: 4 kB / 0.5277 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.006897, allocations: 75.17 kB / 0.5278 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of SimCode: time 9.82e-07/0.006898, allocations: 0 / 0.5278 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.00202/0.008917, allocations: 0.7591 MB / 0.5285 GB, free: 10.51 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6925913388840854]