Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.0008897/0.0008897, allocations: 93.16 kB / 19.65 MB, free: 292 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.001465/0.001465, allocations: 172.9 kB / 23.02 MB, free: 1.559 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.9553/0.9553, 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.7773/0.7773, allocations: 154.6 MB / 414.5 MB, free: 204 kB / 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.5203 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.356e-05, allocations: 3.312 kB / 0.5203 GB, free: 2.168 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001537/0.00155, allocations: 1.308 MB / 0.5216 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007447/0.002295, allocations: 0.5757 MB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.00232, allocations: 0 / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.002342, allocations: 1.344 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.442e-05/0.002387, allocations: 7.875 kB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.002855, allocations: 146.8 kB / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.633e-05/0.002911, allocations: 23.92 kB / 0.5223 GB, free: 124 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.002944, allocations: 0 / 0.5223 GB, free: 124 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.921e-05/0.002993, allocations: 19.97 kB / 0.5224 GB, free: 104 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.003032, allocations: 3.938 kB / 0.5224 GB, free: 100 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.003045, allocations: 4 kB / 0.5224 GB, free: 96 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.003341, allocations: 267.4 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.003354, allocations: 3.938 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.003372, allocations: 4.562 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.003568, allocations: 158 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.00357, allocations: 0.5625 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.61e-07/0.00357, allocations: 0.9688 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.003574, allocations: 0 / 0.5228 GB, free: 15.67 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.0003362/0.00391, allocations: 393.4 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.003946, allocations: 8.031 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.003985, allocations: 9.234 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.734e-05/0.004062, allocations: 112.6 kB / 0.5233 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.004073, allocations: 1.219 kB / 0.5233 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.004093, allocations: 4.375 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.923e-05/0.004182, allocations: 63.95 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.00419, allocations: 5.094 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.0042, allocations: 4.359 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.004208, allocations: 2.031 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.481e-05/0.004232, allocations: 11.92 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.00435, allocations: 116.6 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.004524, allocations: 55.75 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.807e-05/0.004552, allocations: 19.69 kB / 0.5235 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.004568, allocations: 1.219 kB / 0.5235 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.004595, allocations: 37.39 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.004596, allocations: 0 / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0005099/0.005105, allocations: 239.1 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.005135, allocations: 55.34 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.85e-05/0.005204, allocations: 161.9 kB / 0.524 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.005214, allocations: 25.7 kB / 0.524 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.00549, allocations: 129.3 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.005515, allocations: 31.77 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.005543, allocations: 23.38 kB / 0.5242 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002279/0.005771, allocations: 0.4883 MB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.005788, allocations: 11.98 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.005802, allocations: 8 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.952e-05/0.005841, allocations: 26.44 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.005842, allocations: 0 / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.583e-05/0.005908, allocations: 61.69 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.005919, allocations: 4 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005923, allocations: 0 / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.005936, allocations: 3.938 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.068e-05/0.005977, allocations: 15.98 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.005983, allocations: 5.156 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-06/0.005993, allocations: 0 / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.005999, allocations: 4 kB / 0.5248 GB, free: 13.34 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.645e-05/0.006055, allocations: 157.5 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.006064, allocations: 4 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.519e-05/0.006159, allocations: 69.8 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.00616, allocations: 4.875 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.006164, allocations: 3.938 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006168, allocations: 0.6562 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.006391, allocations: 314.8 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.006392, allocations: 0 / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.006434, allocations: 20.11 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006436, allocations: 2.438 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.006447, allocations: 11.94 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.006448, allocations: 0 / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.00645, allocations: 4 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.006591, allocations: 219.6 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.006605, allocations: 7.984 kB / 0.5256 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.006617, allocations: 11.06 kB / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/0.006654, allocations: 0 / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.006672, allocations: 11.92 kB / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.006675, allocations: 0 / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.935e-05/0.006705, allocations: 123.2 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006705, allocations: 0 / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001641/0.006869, allocations: 23.94 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0001214/0.00699, allocations: 124.6 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.225e-05/0.007073, allocations: 35.91 kB / 0.5259 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007074, allocations: 0 / 0.5259 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.057e-05/0.007095, allocations: 27.62 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.007238, allocations: 4.125 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.007704, allocations: 192.9 kB / 0.5261 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.007741, allocations: 61.17 kB / 0.5262 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.21e-05/0.007763, allocations: 8.141 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.007781, allocations: 12.5 kB / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.007782, allocations: 0 / 0.5262 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.00234/0.01012, allocations: 0.6978 MB / 0.5269 GB, free: 11.17 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.657103423960507]