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.000948/0.000948, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009978/0.0009978, allocations: 181 kB / 23.36 MB, free: 1.129 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.9347/0.9347, allocations: 177.2 MB / 203.8 MB, free: 5.5 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.7444/0.7444, allocations: 154.9 MB / 415.1 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_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.442e-06/1.442e-06, allocations: 0 / 480.4 MB, free: 6.578 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.134e-05, allocations: 4.703 kB / 480.4 MB, free: 6.574 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001887/0.001909, allocations: 1.502 MB / 481.9 MB, free: 5.094 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008224/0.002731, allocations: 0.6073 MB / 482.5 MB, free: 4.5 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.002766, allocations: 1.781 kB / 482.5 MB, free: 4.5 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.002792, allocations: 3.938 kB / 482.5 MB, free: 4.496 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.002841, allocations: 2.516 kB / 482.5 MB, free: 4.496 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.003347, allocations: 167.7 kB / 482.7 MB, free: 4.344 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.129e-05/0.003429, allocations: 55.83 kB / 482.7 MB, free: 4.289 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.003468, allocations: 8.984 kB / 482.7 MB, free: 4.281 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.138e-05/0.003549, allocations: 31.95 kB / 482.8 MB, free: 4.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.545e-05/0.003585, allocations: 20.5 kB / 482.8 MB, free: 4.23 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.0036, allocations: 9.391 kB / 482.8 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.003926, allocations: 271.4 kB / 483 MB, free: 3.957 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.003952, allocations: 11.98 kB / 483.1 MB, free: 3.945 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.003978, allocations: 19.92 kB / 483.1 MB, free: 3.926 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.004206, allocations: 180.5 kB / 483.3 MB, free: 3.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004208, allocations: 0 / 483.3 MB, free: 3.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004209, allocations: 0 / 483.3 MB, free: 3.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.277e-06/0.004212, allocations: 1.219 kB / 483.3 MB, free: 3.75 MB / 442.7 MB 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.000355/0.004567, allocations: 299.5 kB / 483.5 MB, free: 3.434 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.004597, allocations: 9.219 kB / 483.6 MB, free: 3.426 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.004624, allocations: 12.92 kB / 483.6 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.207e-05/0.004696, allocations: 109.7 kB / 483.7 MB, free: 3.281 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.004717, allocations: 4.938 kB / 483.7 MB, free: 3.277 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.004737, allocations: 13.34 kB / 483.7 MB, free: 3.266 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.004869, allocations: 130.3 kB / 483.8 MB, free: 3.117 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.004877, allocations: 1.344 kB / 483.8 MB, free: 3.117 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.004888, allocations: 9.859 kB / 483.8 MB, free: 3.109 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.004893, allocations: 4.375 kB / 483.8 MB, free: 3.105 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.004923, allocations: 17 kB / 483.9 MB, free: 3.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.005235, allocations: 208.1 kB / 484.1 MB, free: 2.871 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.005346, allocations: 55.97 kB / 484.1 MB, free: 2.809 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.005363, allocations: 12.86 kB / 484.1 MB, free: 2.793 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.005377, allocations: 4.844 kB / 484.1 MB, free: 2.789 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.0054, allocations: 46.48 kB / 484.2 MB, free: 2.734 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.005401, allocations: 1.156 kB / 484.2 MB, free: 2.734 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.000689/0.00609, allocations: 447.6 kB / 484.6 MB, free: 2.246 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.00613, allocations: 52.47 kB / 484.7 MB, free: 2.184 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.58e-05/0.006186, allocations: 102.7 kB / 484.8 MB, free: 2.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.006201, allocations: 34.33 kB / 484.8 MB, free: 2.031 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.006231, allocations: 85.59 kB / 484.9 MB, free: 1.945 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.006261, allocations: 44.3 kB / 484.9 MB, free: 1.902 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.006297, allocations: 29.69 kB / 485 MB, free: 1.867 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.006371, allocations: 315.5 kB / 485.3 MB, free: 1.551 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.006388, allocations: 8.625 kB / 485.3 MB, free: 1.543 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.00641, allocations: 22.42 kB / 485.3 MB, free: 1.523 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.006455, allocations: 41.52 kB / 485.3 MB, free: 1.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.006457, allocations: 0 / 485.3 MB, free: 1.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.897e-05/0.006535, allocations: 74.17 kB / 485.4 MB, free: 1.402 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.006546, allocations: 4.844 kB / 485.4 MB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.00655, allocations: 0 / 485.4 MB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.006562, allocations: 0.5312 kB / 485.4 MB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.006645, allocations: 27.92 kB / 485.4 MB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.006648, allocations: 1.656 kB / 485.4 MB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.006671, allocations: 9.172 kB / 485.4 MB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.006677, allocations: 0 / 485.4 MB, free: 1.363 MB / 442.7 MB 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.05e-05/0.006737, allocations: 114.8 kB / 485.6 MB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.006758, allocations: 11.92 kB / 485.6 MB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.006864, allocations: 96.95 kB / 485.7 MB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006865, allocations: 0 / 485.7 MB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.006866, allocations: 0.625 kB / 485.7 MB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.006869, allocations: 0 / 485.7 MB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.007077, allocations: 237.1 kB / 485.9 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007078, allocations: 0 / 485.9 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.428e-05/0.007153, allocations: 27.92 kB / 485.9 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.007156, allocations: 3.984 kB / 485.9 MB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.007163, allocations: 0 / 485.9 MB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007164, allocations: 0 / 485.9 MB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.007166, allocations: 9.688 kB / 485.9 MB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.007295, allocations: 186.2 kB / 486.1 MB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.007304, allocations: 9.312 kB / 486.1 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.007314, allocations: 4 kB / 486.1 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.437e-05/0.007358, allocations: 13.8 kB / 486.1 MB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.007371, allocations: 7.984 kB / 486.2 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.007377, allocations: 4 kB / 486.2 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.068e-05/0.007388, allocations: 8.859 kB / 486.2 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007388, allocations: 0 / 486.2 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.007545, allocations: 36.62 kB / 486.2 MB, free: 0.5625 MB / 442.7 MB 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.0001302/0.007676, allocations: 121.4 kB / 486.3 MB, free: 448 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.335e-05/0.007759, allocations: 48.78 kB / 486.4 MB, free: 396 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.007762, allocations: 0.8125 kB / 486.4 MB, free: 396 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.586e-05/0.007788, allocations: 32.78 kB / 486.4 MB, free: 360 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.007918, allocations: 19.12 kB / 486.4 MB, free: 344 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.008379, allocations: 230 kB / 486.6 MB, free: 104 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.347e-05/0.008413, allocations: 63.34 kB / 486.7 MB, free: 20 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.518e-05/0.008448, allocations: 11 kB / 486.7 MB, free: 12 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/0.008516, allocations: 67.36 kB / 486.8 MB, free: 15.95 MB / 458.7 MB Notification: Performance of SimCode: time 8.52e-07/0.008517, allocations: 0.6875 kB / 486.8 MB, free: 15.95 MB / 458.7 MB Notification: Performance of Templates: time 0.002804/0.01132, allocations: 1.297 MB / 488.1 MB, free: 14.79 MB / 458.7 MB " [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.4881273950450122]