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.0009311/0.0009311, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009194/0.0009194, allocations: 173 kB / 23.03 MB, free: 1.543 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.8994/0.8994, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7347/0.7347, allocations: 154.9 MB / 414.8 MB, free: 420 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.463e-06/1.463e-06, allocations: 0 / 0.5207 GB, free: 0.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.643e-05, allocations: 2.312 kB / 0.5207 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00514/0.005166, allocations: 1.327 MB / 0.522 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009323/0.006099, allocations: 0.5781 MB / 0.5225 GB, free: 14.86 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.006129, allocations: 0 / 0.5225 GB, free: 14.86 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.006155, allocations: 0 / 0.5225 GB, free: 14.86 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.084e-05/0.006196, allocations: 3.984 kB / 0.5225 GB, free: 14.86 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.006769, allocations: 148.8 kB / 0.5227 GB, free: 14.71 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.598e-05/0.006835, allocations: 23.86 kB / 0.5227 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.006877, allocations: 8.484 kB / 0.5227 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.366e-05/0.006931, allocations: 8.672 kB / 0.5227 GB, free: 14.67 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.006976, allocations: 4 kB / 0.5227 GB, free: 14.67 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.00699, allocations: 2.031 kB / 0.5227 GB, free: 14.67 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.007359, allocations: 275.4 kB / 0.523 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.007372, allocations: 0 / 0.523 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.007398, allocations: 11.98 kB / 0.523 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.007632, allocations: 151.5 kB / 0.5232 GB, free: 14.24 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.007636, allocations: 1.25 kB / 0.5232 GB, free: 14.24 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.007637, allocations: 0 / 0.5232 GB, free: 14.24 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.007644, allocations: 0 / 0.5232 GB, free: 14.24 MB / 458.7 MB 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.0004195/0.008063, allocations: 393.4 kB / 0.5235 GB, free: 13.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.008106, allocations: 12.03 kB / 0.5235 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.008152, allocations: 1.281 kB / 0.5235 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.156e-05/0.008243, allocations: 116.6 kB / 0.5237 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.008255, allocations: 1.281 kB / 0.5237 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.008277, allocations: 4.375 kB / 0.5237 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.008384, allocations: 68.86 kB / 0.5237 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.008391, allocations: 192 / 0.5237 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.008401, allocations: 384 / 0.5237 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.008409, allocations: 5.375 kB / 0.5237 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.913e-05/0.008438, allocations: 11.92 kB / 0.5237 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.008581, allocations: 112.6 kB / 0.5238 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.008777, allocations: 52.61 kB / 0.5239 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.00881, allocations: 23.7 kB / 0.5239 GB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.008827, allocations: 0 / 0.5239 GB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.008853, allocations: 38.42 kB / 0.524 GB, free: 13.29 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.008854, allocations: 4 kB / 0.524 GB, free: 13.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005592/0.009413, allocations: 242.2 kB / 0.5242 GB, free: 13.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.009448, allocations: 55.34 kB / 0.5242 GB, free: 12.94 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.374e-05/0.009522, allocations: 158.5 kB / 0.5244 GB, free: 12.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.009538, allocations: 31.11 kB / 0.5244 GB, free: 12.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.009577, allocations: 126.9 kB / 0.5245 GB, free: 12.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.009604, allocations: 19.86 kB / 0.5246 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.009645, allocations: 27.36 kB / 0.5246 GB, free: 12.55 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.009763, allocations: 497.9 kB / 0.5251 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.009783, allocations: 4 kB / 0.5251 GB, free: 12.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.678e-05/0.0098, allocations: 7.984 kB / 0.5251 GB, free: 12.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.011e-05/0.00985, allocations: 35.62 kB / 0.5251 GB, free: 12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.009851, allocations: 0 / 0.5251 GB, free: 12 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.897e-05/0.00994, allocations: 67.36 kB / 0.5252 GB, free: 11.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.009953, allocations: 4 kB / 0.5252 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.009958, allocations: 0 / 0.5252 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.009972, allocations: 0 / 0.5252 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.231e-05/0.01002, allocations: 12.75 kB / 0.5252 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.01003, allocations: 7.922 kB / 0.5252 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.47e-05/0.01005, allocations: 1.031 kB / 0.5252 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.01005, allocations: 3.938 kB / 0.5252 GB, free: 11.91 MB / 458.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 (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 7.207e-05/0.01012, allocations: 169.4 kB / 0.5254 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.01013, allocations: 4 kB / 0.5254 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.01026, allocations: 62.05 kB / 0.5254 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.01026, allocations: 3.25 kB / 0.5254 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.01026, allocations: 7.922 kB / 0.5254 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01027, allocations: 0 / 0.5254 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/0.01355, allocations: 317.1 kB / 0.5257 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01355, allocations: 0 / 0.5257 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.0136, allocations: 8 kB / 0.5257 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.01361, allocations: 7.984 kB / 0.5258 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.01362, allocations: 3.938 kB / 0.5258 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.01362, allocations: 3.031 kB / 0.5258 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.01362, allocations: 192 / 0.5258 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.01378, allocations: 239.5 kB / 0.526 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.0138, allocations: 3.984 kB / 0.526 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.01381, allocations: 7.938 kB / 0.526 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.541e-05/0.01387, allocations: 0 / 0.526 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.01389, allocations: 7.984 kB / 0.526 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.01389, allocations: 4.516 kB / 0.526 GB, free: 11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.327e-05/0.01393, allocations: 124.7 kB / 0.5261 GB, free: 10.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01393, allocations: 0 / 0.5261 GB, free: 10.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.01417, allocations: 15.94 kB / 0.5261 GB, free: 10.86 MB / 458.7 MB 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.0001642/0.01433, allocations: 124.6 kB / 0.5263 GB, free: 10.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.01443, allocations: 39.67 kB / 0.5263 GB, free: 10.69 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01443, allocations: 0 / 0.5263 GB, free: 10.69 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.505e-05/0.01446, allocations: 28.89 kB / 0.5263 GB, free: 10.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.01467, allocations: 4.938 kB / 0.5263 GB, free: 10.65 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.01519, allocations: 189.4 kB / 0.5265 GB, free: 10.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.849e-05/0.01523, allocations: 63.2 kB / 0.5266 GB, free: 10.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.308e-05/0.01525, allocations: 5.406 kB / 0.5266 GB, free: 10.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.01527, allocations: 12.5 kB / 0.5266 GB, free: 10.36 MB / 458.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01527, allocations: 0.5625 kB / 0.5266 GB, free: 10.36 MB / 458.7 MB Notification: Performance of Templates: time 0.005605/0.02088, allocations: 0.7274 MB / 0.5273 GB, free: 9.719 MB / 458.7 MB " [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.513243987224996]