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.0009545/0.0009545, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.0009583/0.0009583, allocations: 173 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.895/0.895, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.8366/0.8366, allocations: 154.9 MB / 415.9 MB, free: 272 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.353e-06/1.353e-06, allocations: 0 / 0.5219 GB, free: 1.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.271e-05, allocations: 4.594 kB / 0.5219 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002623/0.002636, allocations: 1.512 MB / 0.5234 GB, free: 56 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.003606, allocations: 0.5919 MB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.003642, allocations: 0 / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.003672, allocations: 3.938 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.464e-05/0.003727, allocations: 13.22 kB / 0.524 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.004204, allocations: 167.8 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.923e-05/0.004283, allocations: 44.88 kB / 0.5242 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.004332, allocations: 4 kB / 0.5242 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.695e-05/0.004408, allocations: 37.11 kB / 0.5242 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.004449, allocations: 19.97 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.004465, allocations: 7.984 kB / 0.5242 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.004825, allocations: 271.9 kB / 0.5245 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.004848, allocations: 11.98 kB / 0.5245 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.00487, allocations: 20.89 kB / 0.5245 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.005074, allocations: 183.4 kB / 0.5247 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.005076, allocations: 1.781 kB / 0.5247 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.42e-07/0.005077, allocations: 3.938 kB / 0.5247 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.005081, allocations: 0 / 0.5247 GB, free: 14.7 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.0003855/0.005467, allocations: 420.1 kB / 0.5251 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.005499, allocations: 9.156 kB / 0.5251 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.005532, allocations: 16.89 kB / 0.5251 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.687e-05/0.005609, allocations: 108.6 kB / 0.5252 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.005631, allocations: 5.031 kB / 0.5252 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.005653, allocations: 12.38 kB / 0.5252 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.005798, allocations: 127.5 kB / 0.5254 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.005809, allocations: 4.172 kB / 0.5254 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.005818, allocations: 4.375 kB / 0.5254 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.005822, allocations: 1.812 kB / 0.5254 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.356e-05/0.005856, allocations: 34.73 kB / 0.5254 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.006147, allocations: 285 kB / 0.5257 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.006267, allocations: 71.8 kB / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.006288, allocations: 23.67 kB / 0.5258 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.006304, allocations: 0 / 0.5258 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.006334, allocations: 44.11 kB / 0.5258 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.006335, allocations: 0 / 0.5258 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0006177/0.006953, allocations: 428.7 kB / 0.5262 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.006979, allocations: 55.41 kB / 0.5263 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.197e-05/0.00704, allocations: 162.4 kB / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.007051, allocations: 26.33 kB / 0.5265 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.007095, allocations: 142.8 kB / 0.5266 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.007127, allocations: 40.61 kB / 0.5266 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.007162, allocations: 35.34 kB / 0.5267 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.007284, allocations: 0.4896 MB / 0.5271 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.007304, allocations: 11.98 kB / 0.5272 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.007326, allocations: 15.98 kB / 0.5272 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.007372, allocations: 39.67 kB / 0.5272 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.007374, allocations: 4.438 kB / 0.5272 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.08e-05/0.007464, allocations: 89.47 kB / 0.5273 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.007476, allocations: 8 kB / 0.5273 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.007481, allocations: 192 / 0.5273 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-06/0.00749, allocations: 5.031 kB / 0.5273 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.00757, allocations: 23.98 kB / 0.5273 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.269e-06/0.007574, allocations: 0.625 kB / 0.5273 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.0076, allocations: 15.97 kB / 0.5273 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.007605, allocations: 0.6562 kB / 0.5273 GB, free: 11.73 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.896e-05/0.007674, allocations: 168 kB / 0.5275 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.007695, allocations: 11.89 kB / 0.5275 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.007811, allocations: 108.8 kB / 0.5276 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.007813, allocations: 0 / 0.5276 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.007814, allocations: 0 / 0.5276 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.007818, allocations: 4 kB / 0.5276 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.008047, allocations: 321.9 kB / 0.5279 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008049, allocations: 0 / 0.5279 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-05/0.008121, allocations: 31.92 kB / 0.528 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.008129, allocations: 2.531 kB / 0.528 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.008139, allocations: 7.984 kB / 0.528 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.00814, allocations: 0 / 0.528 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.008141, allocations: 0 / 0.528 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.008315, allocations: 255.7 kB / 0.5282 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.008322, allocations: 3.953 kB / 0.5282 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.008335, allocations: 8.766 kB / 0.5282 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.557e-05/0.008381, allocations: 4 kB / 0.5282 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.0084, allocations: 13.17 kB / 0.5282 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.008406, allocations: 4 kB / 0.5282 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.008442, allocations: 119.2 kB / 0.5284 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008442, allocations: 4 kB / 0.5284 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001836/0.008625, allocations: 40.64 kB / 0.5284 GB, free: 10.59 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.0001391/0.008764, allocations: 128.1 kB / 0.5285 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.738e-05/0.008862, allocations: 59.58 kB / 0.5286 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.008863, allocations: 2.75 kB / 0.5286 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-05/0.008893, allocations: 35.66 kB / 0.5286 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.009074, allocations: 17.19 kB / 0.5286 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.009545, allocations: 271.6 kB / 0.5289 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.268e-05/0.009578, allocations: 59.36 kB / 0.529 GB, free: 10 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.729e-05/0.009615, allocations: 15.06 kB / 0.529 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.00968, allocations: 90.19 kB / 0.5291 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of SimCode: time 8.31e-07/0.00968, allocations: 0 / 0.5291 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of Templates: time 0.002969/0.01265, allocations: 1.311 MB / 0.5303 GB, free: 8.711 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.663876492995769]