Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000989/0.000989, allocations: 93.06 kB / 19.65 MB, free: 280 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.00102/0.00102, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9338/0.9338, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7752/0.7752, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.699e-05, allocations: 9.156 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001466/0.001483, allocations: 1.31 MB / 0.5216 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000749/0.002231, allocations: 0.5788 MB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.002256, allocations: 0 / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.002277, allocations: 0 / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.995e-05/0.002307, allocations: 0 / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.002695, allocations: 156.4 kB / 0.5223 GB, free: 184 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.414e-05/0.002749, allocations: 20.67 kB / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.002786, allocations: 4 kB / 0.5224 GB, free: 160 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.002832, allocations: 15.97 kB / 0.5224 GB, free: 144 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.002871, allocations: 5.188 kB / 0.5224 GB, free: 140 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.002884, allocations: 0 / 0.5224 GB, free: 140 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.003159, allocations: 275.4 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.003171, allocations: 0.7188 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.003189, allocations: 7.984 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.00337, allocations: 156.1 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003372, allocations: 1.031 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.22e-07/0.003373, allocations: 0 / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.003376, allocations: 0 / 0.5228 GB, free: 15.71 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003137/0.00369, allocations: 388.6 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.003728, allocations: 12.03 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.003762, allocations: 5.984 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.094e-05/0.003832, allocations: 112.6 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.003842, allocations: 3.594 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.003865, allocations: 8.375 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.419e-05/0.003949, allocations: 59.95 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.003956, allocations: 192 / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.003963, allocations: 384 / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.00397, allocations: 384 / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.757e-05/0.003998, allocations: 23.92 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.004342, allocations: 116.6 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.004492, allocations: 51.91 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.004515, allocations: 23.75 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.004533, allocations: 0.5625 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.004551, allocations: 34.33 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.004552, allocations: 0 / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0004444/0.004997, allocations: 239.2 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.00502, allocations: 67.33 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.005076, allocations: 153.9 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.005085, allocations: 25.7 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.005112, allocations: 127.8 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.005136, allocations: 27.78 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.005162, allocations: 23.38 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.005252, allocations: 0.4903 MB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.005267, allocations: 11.98 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.116e-05/0.005279, allocations: 4 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.781e-05/0.005316, allocations: 31.69 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.005317, allocations: 0 / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.804e-05/0.005375, allocations: 54.44 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.005386, allocations: 8 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.00539, allocations: 0.7188 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.005403, allocations: 0 / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.408e-05/0.005437, allocations: 16.48 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.005443, allocations: 7.938 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.045e-05/0.005453, allocations: 4.719 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-06/0.005457, allocations: 3.938 kB / 0.5248 GB, free: 13.37 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 (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 5.071e-05/0.005508, allocations: 158.1 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.005515, allocations: 4 kB / 0.525 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.544e-05/0.0056, allocations: 65.8 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.005602, allocations: 6.75 kB / 0.5251 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.00561, allocations: 3.938 kB / 0.5251 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.005612, allocations: 0 / 0.5251 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.005814, allocations: 317.1 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005815, allocations: 0 / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.005851, allocations: 15.98 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.005853, allocations: 3.938 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.00586, allocations: 10.22 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.005863, allocations: 4 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005864, allocations: 0 / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.005981, allocations: 215.6 kB / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.005995, allocations: 11.98 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.006005, allocations: 4.875 kB / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-05/0.00604, allocations: 4 kB / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.006055, allocations: 3.984 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.006059, allocations: 4.719 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.724e-05/0.006086, allocations: 123.7 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006086, allocations: 4.656 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001461/0.006232, allocations: 23.19 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB 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.0001119/0.006344, allocations: 119.1 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.542e-05/0.00642, allocations: 39.89 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006421, allocations: 0 / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-05/0.006439, allocations: 27.61 kB / 0.526 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.006602, allocations: 4 kB / 0.526 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.007027, allocations: 192.8 kB / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.105e-05/0.007058, allocations: 60.84 kB / 0.5262 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.007077, allocations: 4 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.007096, allocations: 13.62 kB / 0.5262 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of SimCode: time 3.71e-07/0.007097, allocations: 0 / 0.5262 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.002026/0.009123, allocations: 0.6718 MB / 0.5269 GB, free: 11.23 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.948528615757823]