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.001077/0.001077, allocations: 93.06 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.001851/0.001851, allocations: 165 kB / 23.02 MB, free: 1.551 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.9773/0.9773, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7986/0.7986, 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_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.523e-06/1.523e-06, allocations: 0.7656 kB / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.638e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003796/0.003822, allocations: 1.511 MB / 0.5218 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.004856, allocations: 0.5994 MB / 0.5224 GB, free: 116 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.004898, allocations: 5.344 kB / 0.5224 GB, free: 112 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.004932, allocations: 7.922 kB / 0.5224 GB, free: 104 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.712e-05/0.004979, allocations: 0 / 0.5224 GB, free: 104 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.005575, allocations: 165.4 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.005693, allocations: 51.84 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.005733, allocations: 0 / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.005811, allocations: 42.52 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.005852, allocations: 19.97 kB / 0.5227 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.005869, allocations: 4 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.006277, allocations: 275.4 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.006303, allocations: 7.938 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.006336, allocations: 19.97 kB / 0.523 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.006628, allocations: 187.3 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.006631, allocations: 0.5 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.573e-06/0.006632, allocations: 1.406 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.006637, allocations: 0 / 0.5231 GB, free: 15.34 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.0005472/0.007184, allocations: 420.1 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.007225, allocations: 13 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.007273, allocations: 8.891 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.487e-05/0.007358, allocations: 113.5 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.007384, allocations: 8.375 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.007413, allocations: 4.375 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.007618, allocations: 134.1 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.007629, allocations: 4.188 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.007642, allocations: 8.984 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.00765, allocations: 384 / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.006e-05/0.00771, allocations: 36.56 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.008145, allocations: 308.8 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.008286, allocations: 67.66 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.008321, allocations: 27.61 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.008342, allocations: 5.812 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.008368, allocations: 37.33 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.008369, allocations: 0 / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0009358/0.009305, allocations: 469.7 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.009334, allocations: 59.39 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.661e-05/0.009411, allocations: 153.9 kB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.009427, allocations: 30.61 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.009476, allocations: 134.9 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.00964, allocations: 42.31 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.009689, allocations: 35.36 kB / 0.5252 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.009809, allocations: 0.4922 MB / 0.5256 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.00985, allocations: 16 kB / 0.5257 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/0.009887, allocations: 15.98 kB / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.975e-05/0.009967, allocations: 55.55 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.009968, allocations: 0 / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001392/0.01011, allocations: 99.77 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.01012, allocations: 4 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01013, allocations: 0 / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.01014, allocations: 4 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.01026, allocations: 27.98 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01026, allocations: 3.984 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.01029, allocations: 0 / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.0103, allocations: 7.938 kB / 0.5259 GB, free: 12.29 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.754e-05/0.01038, allocations: 166.3 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.01041, allocations: 8 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.01059, allocations: 105.7 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01059, allocations: 0 / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01059, allocations: 2.219 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01059, allocations: 3.938 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.01094, allocations: 357.3 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01094, allocations: 0 / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.973e-05/0.01104, allocations: 23.98 kB / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.01104, allocations: 0 / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.01105, allocations: 2.75 kB / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01105, allocations: 4 kB / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01105, allocations: 0 / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.01129, allocations: 271.9 kB / 0.5268 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.0113, allocations: 3.984 kB / 0.5268 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.01131, allocations: 4 kB / 0.5268 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.01138, allocations: 4 kB / 0.5268 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.0114, allocations: 9.422 kB / 0.5268 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.01141, allocations: 4 kB / 0.5268 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.315e-05/0.01146, allocations: 127.2 kB / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01146, allocations: 0 / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002807/0.01174, allocations: 40.59 kB / 0.527 GB, free: 11.11 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.0001993/0.01194, allocations: 141.1 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.01208, allocations: 63.59 kB / 0.5272 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01208, allocations: 0 / 0.5272 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.01213, allocations: 39.61 kB / 0.5272 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.01238, allocations: 12.62 kB / 0.5272 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006673/0.01304, allocations: 270.8 kB / 0.5275 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.253e-05/0.01309, allocations: 63.34 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.584e-05/0.01313, allocations: 14.23 kB / 0.5275 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.01316, allocations: 16.48 kB / 0.5275 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.01316, allocations: 0.9688 kB / 0.5275 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.003515/0.01668, allocations: 1.15 MB / 0.5287 GB, free: 9.426 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.9693947401829064]