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.001173/0.001173, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001013/0.001013, 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.9074/0.9074, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.8349/0.8349, allocations: 154.6 MB / 414.9 MB, free: 0.6406 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.322e-06/1.322e-06, allocations: 0.9844 kB / 0.5203 GB, free: 2.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.434e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001639/0.001653, allocations: 1.507 MB / 0.5218 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007835/0.002437, allocations: 0.5902 MB / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.00247, allocations: 0 / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.002503, allocations: 7.922 kB / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.002548, allocations: 13.34 kB / 0.5224 GB, free: 392 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.002975, allocations: 164.6 kB / 0.5226 GB, free: 228 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.822e-05/0.003043, allocations: 51.83 kB / 0.5226 GB, free: 176 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.003088, allocations: 5.75 kB / 0.5226 GB, free: 172 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.094e-05/0.003159, allocations: 31.95 kB / 0.5227 GB, free: 140 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.458e-05/0.003193, allocations: 19.92 kB / 0.5227 GB, free: 120 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.003208, allocations: 4 kB / 0.5227 GB, free: 116 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.003478, allocations: 271.4 kB / 0.5229 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.003495, allocations: 8.562 kB / 0.5229 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.003522, allocations: 27.91 kB / 0.523 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.003735, allocations: 180.3 kB / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003736, allocations: 0 / 0.5231 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.51e-07/0.003737, allocations: 5.406 kB / 0.5232 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.003741, allocations: 0 / 0.5232 GB, free: 15.63 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.0004477/0.004189, allocations: 416.1 kB / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.004226, allocations: 12.8 kB / 0.5236 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.004272, allocations: 16.89 kB / 0.5236 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.971e-05/0.004351, allocations: 105.8 kB / 0.5237 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.004371, allocations: 4.375 kB / 0.5237 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.004394, allocations: 12.38 kB / 0.5237 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.004556, allocations: 139.7 kB / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.004566, allocations: 192 / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.004578, allocations: 8.312 kB / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.004589, allocations: 4.375 kB / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.053e-05/0.004649, allocations: 31.92 kB / 0.5239 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.005005, allocations: 311.6 kB / 0.5242 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.005118, allocations: 73.19 kB / 0.5242 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.005145, allocations: 23.61 kB / 0.5243 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.005158, allocations: 0 / 0.5243 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.005181, allocations: 41.39 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.005181, allocations: 2.75 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0007362/0.005918, allocations: 467.6 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.005946, allocations: 51.41 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.006021, allocations: 161.9 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.006034, allocations: 31.2 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.006076, allocations: 130.9 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.006104, allocations: 39.64 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.006143, allocations: 39.36 kB / 0.5252 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.006256, allocations: 0.4893 MB / 0.5257 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.006286, allocations: 15.98 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.006314, allocations: 19.98 kB / 0.5257 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.061e-05/0.006375, allocations: 48.62 kB / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.006375, allocations: 0 / 0.5257 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001046/0.00648, allocations: 105.6 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.00649, allocations: 4 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.006493, allocations: 0.7188 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.006503, allocations: 0 / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/0.00659, allocations: 25.2 kB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.006595, allocations: 3.984 kB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/0.00662, allocations: 8 kB / 0.5259 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.006628, allocations: 8.609 kB / 0.5259 GB, free: 12.57 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 6.23e-05/0.006691, allocations: 165.1 kB / 0.526 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.00671, allocations: 8.844 kB / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.006842, allocations: 105.6 kB / 0.5262 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.006843, allocations: 2.719 kB / 0.5262 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.006846, allocations: 4 kB / 0.5262 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006849, allocations: 0 / 0.5262 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.007101, allocations: 353.3 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.007102, allocations: 4 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.443e-05/0.007177, allocations: 23.98 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.00718, allocations: 7.984 kB / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.007188, allocations: 7.125 kB / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.007189, allocations: 0 / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.00719, allocations: 0 / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.007368, allocations: 263.7 kB / 0.5268 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-06/0.007374, allocations: 4 kB / 0.5268 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.007387, allocations: 4 kB / 0.5268 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.625e-05/0.007433, allocations: 4 kB / 0.5268 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.007449, allocations: 11.92 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.007456, allocations: 5.812 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.007491, allocations: 127.2 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007491, allocations: 0 / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001968/0.007688, allocations: 43.81 kB / 0.527 GB, free: 11.38 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.0001373/0.007825, allocations: 123.8 kB / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.007969, allocations: 69.22 kB / 0.5272 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.00797, allocations: 6.125 kB / 0.5272 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.297e-05/0.008023, allocations: 35.67 kB / 0.5272 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.008266, allocations: 13.2 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006993/0.008965, allocations: 271.9 kB / 0.5275 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.74e-05/0.009013, allocations: 69.12 kB / 0.5275 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.485e-05/0.009058, allocations: 10.36 kB / 0.5276 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.009091, allocations: 16.5 kB / 0.5276 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of SimCode: time 1.282e-06/0.009093, allocations: 0 / 0.5276 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.002767/0.01186, allocations: 1.148 MB / 0.5287 GB, free: 9.711 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.908559631090611]