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.0009132/0.0009132, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0009627/0.0009627, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9175/0.9175, allocations: 177.1 MB / 203.5 MB, free: 5.73 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-531:190: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-531:198: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.7204/0.7204, allocations: 154.5 MB / 414.5 MB, free: 0.8398 MB / 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.693e-06/1.693e-06, allocations: 0 / 0.6193 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.155e-05, allocations: 2.281 kB / 0.6193 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001727/0.001749, allocations: 1.471 MB / 0.6207 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0007715/0.00252, allocations: 0.5604 MB / 0.6213 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.002553, allocations: 0 / 0.6213 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.002583, allocations: 7.938 kB / 0.6213 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 5.214e-05/0.002635, allocations: 15.91 kB / 0.6213 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.003098, allocations: 163.2 kB / 0.6214 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.239e-05/0.00317, allocations: 43.8 kB / 0.6215 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.003214, allocations: 4 kB / 0.6215 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 7.569e-05/0.003289, allocations: 35.89 kB / 0.6215 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 3.782e-05/0.003327, allocations: 23.95 kB / 0.6215 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.003343, allocations: 8 kB / 0.6215 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.003613, allocations: 267.4 kB / 0.6218 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.003634, allocations: 15.92 kB / 0.6218 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.00366, allocations: 19.97 kB / 0.6218 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.003888, allocations: 187.4 kB / 0.622 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00389, allocations: 0 / 0.622 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.633e-06/0.003891, allocations: 0 / 0.622 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.003895, allocations: 3.938 kB / 0.622 GB, free: 9.262 MB / 0.5417 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.0004437/0.004339, allocations: 329.8 kB / 0.6223 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.004374, allocations: 17.41 kB / 0.6224 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.004413, allocations: 4.938 kB / 0.6224 GB, free: 8.887 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.728e-05/0.00449, allocations: 113.7 kB / 0.6225 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.004515, allocations: 8.375 kB / 0.6225 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.004536, allocations: 4.375 kB / 0.6225 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.004711, allocations: 137.5 kB / 0.6226 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.00472, allocations: 192 / 0.6226 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.004733, allocations: 4.375 kB / 0.6226 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.004739, allocations: 4.359 kB / 0.6226 GB, free: 8.578 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.004862, allocations: 51.91 kB / 0.6227 GB, free: 8.527 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.005223, allocations: 256.4 kB / 0.6229 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.005387, allocations: 74.53 kB / 0.623 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.005445, allocations: 36.77 kB / 0.623 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.005463, allocations: 0 / 0.623 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.005484, allocations: 38.56 kB / 0.6231 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 6.52e-07/0.005484, allocations: 0 / 0.6231 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0009445/0.006429, allocations: 0.5015 MB / 0.6235 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.006455, allocations: 51.41 kB / 0.6236 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.011e-05/0.006505, allocations: 97.86 kB / 0.6237 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.006517, allocations: 33.7 kB / 0.6237 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.006555, allocations: 99.95 kB / 0.6238 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.006586, allocations: 39.64 kB / 0.6239 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.006621, allocations: 33.72 kB / 0.6239 GB, free: 7.137 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.731e-05/0.006699, allocations: 322.8 kB / 0.6242 GB, free: 6.812 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.006766, allocations: 27.98 kB / 0.6242 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.276e-05/0.006828, allocations: 34.34 kB / 0.6243 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.00696, allocations: 80.89 kB / 0.6243 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.006961, allocations: 4 kB / 0.6243 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001658/0.007127, allocations: 112.6 kB / 0.6244 GB, free: 6.555 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.007137, allocations: 10.19 kB / 0.6244 GB, free: 6.547 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.007142, allocations: 96 / 0.6244 GB, free: 6.547 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.007152, allocations: 3.938 kB / 0.6245 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.232e-05/0.007234, allocations: 31.92 kB / 0.6245 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.007239, allocations: 0 / 0.6245 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.801e-05/0.007267, allocations: 7.984 kB / 0.6245 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.007274, allocations: 4 kB / 0.6245 GB, free: 6.5 MB / 0.5417 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.207e-05/0.007336, allocations: 122.8 kB / 0.6246 GB, free: 6.371 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.007351, allocations: 8 kB / 0.6246 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.007556, allocations: 121.7 kB / 0.6247 GB, free: 6.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007558, allocations: 4 kB / 0.6247 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.007563, allocations: 0 / 0.6247 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007566, allocations: 0 / 0.6247 GB, free: 6.227 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.00788, allocations: 330 kB / 0.6251 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007882, allocations: 4.188 kB / 0.6251 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.007956, allocations: 27.92 kB / 0.6251 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007958, allocations: 0 / 0.6251 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.007967, allocations: 7.984 kB / 0.6251 GB, free: 5.828 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.007969, allocations: 4 kB / 0.6251 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.007969, allocations: 0 / 0.6251 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.008247, allocations: 246.4 kB / 0.6253 GB, free: 5.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.008254, allocations: 7.984 kB / 0.6253 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.008271, allocations: 12.05 kB / 0.6254 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.008325, allocations: 4 kB / 0.6254 GB, free: 5.547 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.008341, allocations: 7.984 kB / 0.6254 GB, free: 5.539 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.008347, allocations: 8 kB / 0.6254 GB, free: 5.531 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.442e-05/0.008372, allocations: 75.28 kB / 0.6254 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.008372, allocations: 7.938 kB / 0.6254 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001759/0.008548, allocations: 43.8 kB / 0.6255 GB, free: 5.406 MB / 0.5417 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.0001326/0.00868, allocations: 123.1 kB / 0.6256 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.008859, allocations: 87.88 kB / 0.6257 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.008861, allocations: 4 kB / 0.6257 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.507e-05/0.008926, allocations: 39.92 kB / 0.6257 GB, free: 5.148 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.009105, allocations: 11.98 kB / 0.6257 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.009556, allocations: 291.1 kB / 0.626 GB, free: 4.812 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.339e-05/0.009619, allocations: 83.27 kB / 0.6261 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.009657, allocations: 20.44 kB / 0.6261 GB, free: 4.691 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/0.009657, allocations: 0 / 0.6261 GB, free: 4.691 MB / 0.5417 GB Notification: Performance of Templates: time 0.002401/0.01206, allocations: 1.352 MB / 0.6274 GB, free: 3.348 MB / 0.5417 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.403719644993544] Failed to read output from testmodel.py, exit status != 0: 0.016439056023955345 0.024121748000000002 0.018635384 Calling exit ...