Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009133/0.0009133, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.001035/0.001035, allocations: 169 kB / 24.06 MB, free: 452 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 1.035/1.035, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8205/0.8205, allocations: 154.6 MB / 415.6 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.5215 GB, free: 1.727 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.961e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.723 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002112/0.002141, allocations: 1.498 MB / 0.523 GB, free: 240 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008523/0.002994, allocations: 0.591 MB / 0.5236 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.003033, allocations: 4 kB / 0.5236 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.003063, allocations: 4.719 kB / 0.5236 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.426e-05/0.003117, allocations: 7.922 kB / 0.5236 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.003664, allocations: 168.8 kB / 0.5238 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.888e-05/0.003743, allocations: 54.14 kB / 0.5238 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.00378, allocations: 0 / 0.5238 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.003863, allocations: 35.91 kB / 0.5238 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.595e-05/0.003899, allocations: 19.97 kB / 0.5239 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.003913, allocations: 4 kB / 0.5239 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.004232, allocations: 275.4 kB / 0.5241 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.004252, allocations: 8.484 kB / 0.5241 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.004276, allocations: 21.39 kB / 0.5242 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.004511, allocations: 183.4 kB / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004513, allocations: 0 / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004514, allocations: 0 / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.004519, allocations: 0.9688 kB / 0.5243 GB, free: 14.88 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.0004202/0.004939, allocations: 416.1 kB / 0.5247 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.004973, allocations: 16.94 kB / 0.5247 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.005018, allocations: 12.89 kB / 0.5248 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.086e-05/0.005109, allocations: 120.5 kB / 0.5249 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.005133, allocations: 5.312 kB / 0.5249 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.005153, allocations: 12.38 kB / 0.5249 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.005318, allocations: 129.8 kB / 0.525 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.005329, allocations: 192 / 0.525 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.005338, allocations: 4.875 kB / 0.525 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.005346, allocations: 4.375 kB / 0.525 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.68e-05/0.005382, allocations: 28.55 kB / 0.5251 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.00574, allocations: 289.5 kB / 0.5253 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.005855, allocations: 67.58 kB / 0.5254 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.005875, allocations: 19.69 kB / 0.5254 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.005888, allocations: 5.812 kB / 0.5254 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.005911, allocations: 37.33 kB / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.005912, allocations: 0 / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.000688/0.0066, allocations: 446.4 kB / 0.5259 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.006631, allocations: 51.41 kB / 0.5259 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.006704, allocations: 157.9 kB / 0.5261 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.006717, allocations: 35.06 kB / 0.5261 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.006765, allocations: 134.8 kB / 0.5262 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.006802, allocations: 43.62 kB / 0.5263 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.006837, allocations: 31.91 kB / 0.5263 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.006956, allocations: 0.4884 MB / 0.5268 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.006983, allocations: 21.36 kB / 0.5268 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.007003, allocations: 8 kB / 0.5268 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.275e-05/0.007055, allocations: 50.53 kB / 0.5269 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007058, allocations: 3.938 kB / 0.5269 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001007/0.007158, allocations: 92.28 kB / 0.527 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.007169, allocations: 4 kB / 0.527 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007174, allocations: 192 / 0.527 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.007183, allocations: 0 / 0.527 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.007269, allocations: 27.92 kB / 0.527 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.007273, allocations: 4 kB / 0.527 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.007299, allocations: 14.67 kB / 0.527 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.007306, allocations: 4 kB / 0.527 GB, free: 11.89 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 7.81e-05/0.007384, allocations: 160.5 kB / 0.5272 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.007409, allocations: 8 kB / 0.5272 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.007544, allocations: 100.7 kB / 0.5273 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.007547, allocations: 4 kB / 0.5273 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.00755, allocations: 3.984 kB / 0.5273 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007553, allocations: 1.125 kB / 0.5273 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.007807, allocations: 325.9 kB / 0.5276 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007808, allocations: 1.094 kB / 0.5276 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.058e-05/0.007889, allocations: 35.92 kB / 0.5276 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.007891, allocations: 0 / 0.5276 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.007898, allocations: 1.75 kB / 0.5276 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.007899, allocations: 0 / 0.5276 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0079, allocations: 0 / 0.5276 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.008086, allocations: 255.8 kB / 0.5279 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.008094, allocations: 7.953 kB / 0.5279 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.008105, allocations: 0.6562 kB / 0.5279 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.768e-05/0.008153, allocations: 8.656 kB / 0.5279 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.00817, allocations: 7.984 kB / 0.5279 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.008175, allocations: 0.6562 kB / 0.5279 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.503e-05/0.00821, allocations: 127.2 kB / 0.528 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.00821, allocations: 1.219 kB / 0.528 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005074/0.008718, allocations: 35.88 kB / 0.528 GB, free: 10.77 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.000171/0.008889, allocations: 145.5 kB / 0.5282 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.008994, allocations: 47.66 kB / 0.5282 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.008996, allocations: 0 / 0.5282 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.989e-05/0.009026, allocations: 35.61 kB / 0.5283 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.009217, allocations: 17.48 kB / 0.5283 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.009755, allocations: 272.4 kB / 0.5285 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.513e-05/0.00979, allocations: 63.34 kB / 0.5286 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.733e-05/0.009827, allocations: 6.516 kB / 0.5286 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.009895, allocations: 91.81 kB / 0.5287 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.009896, allocations: 4 kB / 0.5287 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.003037/0.01293, allocations: 1.295 MB / 0.53 GB, free: 8.891 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8538515749387443]