Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001405/0.001405, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001623/0.001623, allocations: 169 kB / 23.27 MB, free: 1.223 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.9406/0.9406, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.8492/0.8492, allocations: 154.9 MB / 415.1 MB, free: 244 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.183e-05, allocations: 4.953 kB / 0.5211 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002818/0.00285, allocations: 1.513 MB / 0.5226 GB, free: 24 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.003996, allocations: 0.5903 MB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.004041, allocations: 0.6875 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.004077, allocations: 7.922 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.856e-05/0.004135, allocations: 5.156 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.00471, allocations: 161.6 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.993e-05/0.0048, allocations: 55.83 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.004844, allocations: 4 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.361e-05/0.004938, allocations: 27.97 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.004988, allocations: 25.62 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.005006, allocations: 4 kB / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004087/0.005415, allocations: 271.4 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.00544, allocations: 15.98 kB / 0.5237 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.00547, allocations: 19.92 kB / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.005771, allocations: 184.4 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.005775, allocations: 0 / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.001e-06/0.005776, allocations: 0 / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.00578, allocations: 0 / 0.5239 GB, free: 14.68 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005217/0.006302, allocations: 424.8 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.006349, allocations: 13.5 kB / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.006386, allocations: 8.891 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.066e-05/0.006477, allocations: 112.6 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.006505, allocations: 8.375 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.006527, allocations: 5.719 kB / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.006732, allocations: 133.6 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.006742, allocations: 192 / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.006752, allocations: 8.844 kB / 0.5246 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.006758, allocations: 384 / 0.5246 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.675e-05/0.006805, allocations: 27.3 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.007225, allocations: 296.2 kB / 0.5249 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.007366, allocations: 71.02 kB / 0.525 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/0.007392, allocations: 11.69 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.007416, allocations: 4 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.007448, allocations: 45.25 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.00745, allocations: 0.5625 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0009101/0.00836, allocations: 438.2 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.008394, allocations: 56.88 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.168e-05/0.008476, allocations: 161.9 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.008493, allocations: 29.7 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.008546, allocations: 134.8 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.008587, allocations: 44.56 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.008633, allocations: 27.38 kB / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.008792, allocations: 0.4895 MB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.008823, allocations: 15.98 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.008853, allocations: 15.98 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.725e-05/0.00892, allocations: 46.27 kB / 0.5265 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.008923, allocations: 3.938 kB / 0.5265 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001397/0.009063, allocations: 88.42 kB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.009079, allocations: 4 kB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.009085, allocations: 0 / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.009098, allocations: 4 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.009212, allocations: 31.92 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.009217, allocations: 6.734 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.009251, allocations: 0 / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.009259, allocations: 4 kB / 0.5266 GB, free: 11.7 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 9.286e-05/0.009352, allocations: 164.5 kB / 0.5267 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.009387, allocations: 11.94 kB / 0.5268 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.009558, allocations: 101.7 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.00956, allocations: 0 / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.009562, allocations: 1 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.009565, allocations: 0 / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.009918, allocations: 334.8 kB / 0.5272 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.009921, allocations: 0 / 0.5272 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.01003, allocations: 23.98 kB / 0.5272 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01004, allocations: 0.9375 kB / 0.5272 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.01004, allocations: 0 / 0.5272 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.01005, allocations: 8.594 kB / 0.5272 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.01005, allocations: 4 kB / 0.5272 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.01027, allocations: 252.8 kB / 0.5275 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.01029, allocations: 7.953 kB / 0.5275 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.0103, allocations: 4 kB / 0.5275 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.01038, allocations: 6.438 kB / 0.5275 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.0104, allocations: 11.92 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.01041, allocations: 7.984 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.01045, allocations: 123.2 kB / 0.5276 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01045, allocations: 0 / 0.5276 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003033/0.01075, allocations: 35.88 kB / 0.5276 GB, free: 10.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002126/0.01097, allocations: 141.9 kB / 0.5278 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001231/0.01109, allocations: 51.66 kB / 0.5278 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01109, allocations: 0 / 0.5278 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.01114, allocations: 43.59 kB / 0.5279 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.01143, allocations: 16.48 kB / 0.5279 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007494/0.01218, allocations: 253.7 kB / 0.5281 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.209e-05/0.01223, allocations: 63.34 kB / 0.5282 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.165e-05/0.0123, allocations: 26.02 kB / 0.5282 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.929e-05/0.01238, allocations: 82.95 kB / 0.5283 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of SimCode: time 9.42e-07/0.01239, allocations: 0 / 0.5283 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of Templates: time 0.007575/0.01996, allocations: 1.289 MB / 0.5295 GB, free: 8.703 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7279236856848]