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.0008883/0.0008883, allocations: 97.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.0008744/0.0008744, allocations: 173 kB / 23.03 MB, free: 1.543 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.9716/0.9716, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8158/0.8158, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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.994e-06/1.994e-06, allocations: 0 / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.899e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00574/0.005769, allocations: 1.509 MB / 0.5218 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.006934, allocations: 0.6002 MB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.006975, allocations: 0 / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.007013, allocations: 3.938 kB / 0.5224 GB, free: 116 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.207e-05/0.007075, allocations: 7.922 kB / 0.5224 GB, free: 108 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.01091, allocations: 165.1 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.01102, allocations: 49.02 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.01107, allocations: 4 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.01116, allocations: 35.89 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.01121, allocations: 23.95 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.01123, allocations: 9 kB / 0.5227 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004926/0.01172, allocations: 263.5 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.01175, allocations: 19.91 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.01179, allocations: 12.53 kB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.01211, allocations: 189.2 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.01212, allocations: 0 / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.01212, allocations: 0 / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.01212, allocations: 0 / 0.5231 GB, free: 15.36 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.0005628/0.01269, allocations: 421.7 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.01274, allocations: 8.031 kB / 0.5235 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.0128, allocations: 12.89 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.01291, allocations: 108.6 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.01294, allocations: 9.844 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.01297, allocations: 16.3 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.0132, allocations: 136.8 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.01321, allocations: 192 / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.01323, allocations: 1.344 kB / 0.5238 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.01324, allocations: 4.375 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.898e-05/0.01331, allocations: 27.92 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003574/0.01688, allocations: 313.1 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.01706, allocations: 75.52 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.0171, allocations: 24.66 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.01712, allocations: 0 / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.01715, allocations: 41.39 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.284e-06/0.01716, allocations: 1.125 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001148/0.0183, allocations: 478.1 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.01834, allocations: 51.41 kB / 0.5248 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.212e-05/0.01842, allocations: 157.9 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.01844, allocations: 29.7 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.0185, allocations: 134.9 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.01854, allocations: 41.86 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.01859, allocations: 35.38 kB / 0.5252 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.01873, allocations: 0.4883 MB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.365e-05/0.01878, allocations: 23.92 kB / 0.5257 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.751e-05/0.01881, allocations: 16 kB / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.549e-05/0.0189, allocations: 47.17 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.0189, allocations: 6.438 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001568/0.01906, allocations: 101.7 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.01908, allocations: 8 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01908, allocations: 0 / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.0191, allocations: 0 / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.01923, allocations: 23.98 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01924, allocations: 2.031 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.546e-05/0.01927, allocations: 4 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.01929, allocations: 8 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 8.34e-05/0.01937, allocations: 160.5 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.0194, allocations: 9.031 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003238/0.02264, allocations: 105.7 kB / 0.5261 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.02265, allocations: 3.984 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.02265, allocations: 0.9375 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.02266, allocations: 4 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.02314, allocations: 349.3 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02314, allocations: 3.25 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.02327, allocations: 23.98 kB / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.02327, allocations: 0 / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.02329, allocations: 8 kB / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.02329, allocations: 0 / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.02329, allocations: 0 / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.02358, allocations: 267.7 kB / 0.5268 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.02359, allocations: 4 kB / 0.5268 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.02361, allocations: 6.875 kB / 0.5268 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/0.02371, allocations: 11.98 kB / 0.5268 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.02373, allocations: 3.984 kB / 0.5268 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.02374, allocations: 4 kB / 0.5268 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.558e-05/0.02378, allocations: 131.4 kB / 0.5269 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02378, allocations: 0 / 0.5269 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003053/0.02409, allocations: 39.81 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.0002414/0.02433, allocations: 132.7 kB / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.02451, allocations: 69.17 kB / 0.5272 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.02451, allocations: 0 / 0.5272 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.108e-05/0.02456, allocations: 40.89 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.02485, allocations: 14.22 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.003916/0.02877, allocations: 270 kB / 0.5275 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.679e-05/0.02882, allocations: 59.34 kB / 0.5275 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.653e-05/0.0289, allocations: 15.34 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.02895, allocations: 20.5 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of SimCode: time 2.284e-06/0.02895, allocations: 0 / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.00772/0.03667, allocations: 1.244 MB / 0.5288 GB, free: 9.348 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.8223033496178687]