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.0009608/0.0009608, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009426/0.0009426, allocations: 173 kB / 23.49 MB, free: 1.055 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.9725/0.9725, allocations: 177.1 MB / 203.8 MB, free: 5.59 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.7952/0.7952, allocations: 154.8 MB / 415.1 MB, free: 492 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.864e-06/1.864e-06, allocations: 0 / 0.5206 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.621e-05, allocations: 9.438 kB / 0.5206 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001864/0.00189, allocations: 1.511 MB / 0.5221 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009054/0.002796, allocations: 0.5983 MB / 0.5226 GB, free: 168 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.002833, allocations: 0 / 0.5226 GB, free: 168 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.002865, allocations: 8.734 kB / 0.5227 GB, free: 160 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.002917, allocations: 4 kB / 0.5227 GB, free: 156 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.00338, allocations: 161 kB / 0.5228 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.882e-05/0.003459, allocations: 52.81 kB / 0.5229 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.0035, allocations: 4 kB / 0.5229 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.504e-05/0.003585, allocations: 35.89 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.472e-05/0.00362, allocations: 17.14 kB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.003636, allocations: 4 kB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.003908, allocations: 279.3 kB / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.00393, allocations: 16.42 kB / 0.5232 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.003957, allocations: 17.77 kB / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.004179, allocations: 179.4 kB / 0.5234 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.00418, allocations: 0 / 0.5234 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004181, allocations: 4 kB / 0.5234 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.004186, allocations: 0 / 0.5234 GB, free: 15.4 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.0004883/0.004674, allocations: 417.9 kB / 0.5238 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.00472, allocations: 8.031 kB / 0.5238 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.004776, allocations: 16.89 kB / 0.5238 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.004878, allocations: 112.5 kB / 0.5239 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.004906, allocations: 6.031 kB / 0.5239 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.004931, allocations: 12.38 kB / 0.5239 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.005104, allocations: 134.3 kB / 0.5241 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.005114, allocations: 192 / 0.5241 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.005123, allocations: 1.125 kB / 0.5241 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.005132, allocations: 4.375 kB / 0.5241 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.002e-05/0.005182, allocations: 37.31 kB / 0.5241 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.005541, allocations: 307.6 kB / 0.5244 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.005659, allocations: 72.38 kB / 0.5245 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.005688, allocations: 27.55 kB / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.005704, allocations: 4 kB / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.005724, allocations: 38.7 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.005725, allocations: 0 / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0007443/0.00647, allocations: 459.4 kB / 0.525 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.006498, allocations: 55.39 kB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.006573, allocations: 157.9 kB / 0.5252 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.006586, allocations: 33.7 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.006632, allocations: 130.9 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.006662, allocations: 36.69 kB / 0.5254 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.006698, allocations: 39.36 kB / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.006814, allocations: 0.4922 MB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.941e-05/0.006843, allocations: 16.94 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.115e-05/0.006875, allocations: 26.8 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.453e-05/0.006939, allocations: 54.92 kB / 0.526 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.006941, allocations: 3.938 kB / 0.526 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001221/0.007063, allocations: 93.77 kB / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.007078, allocations: 6.5 kB / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.007083, allocations: 0 / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.007097, allocations: 0 / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/0.007195, allocations: 27.92 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.007203, allocations: 3.984 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.007228, allocations: 8 kB / 0.5261 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.007236, allocations: 6.812 kB / 0.5261 GB, free: 12.34 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 8.297e-05/0.007319, allocations: 160.5 kB / 0.5263 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.007339, allocations: 8 kB / 0.5263 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.007492, allocations: 101.7 kB / 0.5264 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007493, allocations: 3.938 kB / 0.5264 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.007499, allocations: 4 kB / 0.5264 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.007503, allocations: 1.438 kB / 0.5264 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.007764, allocations: 351.5 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.007766, allocations: 4 kB / 0.5267 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-05/0.007849, allocations: 23.98 kB / 0.5268 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.007853, allocations: 12.58 kB / 0.5268 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.007862, allocations: 0.8438 kB / 0.5268 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007864, allocations: 0 / 0.5268 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007864, allocations: 0 / 0.5268 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.00805, allocations: 264.2 kB / 0.527 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.008056, allocations: 6.125 kB / 0.527 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.008067, allocations: 4 kB / 0.527 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.563e-05/0.008113, allocations: 4 kB / 0.527 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.008131, allocations: 7.984 kB / 0.527 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.008138, allocations: 7.984 kB / 0.527 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.064e-05/0.008168, allocations: 125.6 kB / 0.5272 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008168, allocations: 0 / 0.5272 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000179/0.008347, allocations: 43.81 kB / 0.5272 GB, free: 11.17 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.0001402/0.008488, allocations: 131 kB / 0.5273 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.008601, allocations: 65.97 kB / 0.5274 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.008603, allocations: 6.125 kB / 0.5274 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.295e-05/0.008646, allocations: 39.61 kB / 0.5274 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.00882, allocations: 15.41 kB / 0.5275 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000605/0.009425, allocations: 272.2 kB / 0.5277 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.095e-05/0.009466, allocations: 63.34 kB / 0.5278 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.195e-05/0.009508, allocations: 11.36 kB / 0.5278 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.009539, allocations: 20.48 kB / 0.5278 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.009539, allocations: 0 / 0.5278 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of Templates: time 0.002885/0.01242, allocations: 1.147 MB / 0.5289 GB, free: 9.488 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.811155491974205]