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.001005/0.001005, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009544/0.0009544, 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.9087/0.9087, allocations: 177.1 MB / 203.8 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.7832/0.7832, allocations: 154.6 MB / 414.9 MB, free: 0.6875 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_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.313e-06/1.313e-06, allocations: 0.7656 kB / 0.5203 GB, free: 1.434 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.093e-05, allocations: 4.141 kB / 0.5203 GB, free: 1.43 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001602/0.001623, allocations: 1.313 MB / 0.5216 GB, free: 128 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009133/0.002536, allocations: 0.5761 MB / 0.5222 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.002574, allocations: 0 / 0.5222 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.059e-05/0.002595, allocations: 0 / 0.5222 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.836e-05/0.002643, allocations: 8.547 kB / 0.5222 GB, free: 15.54 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.00313, allocations: 148.2 kB / 0.5223 GB, free: 15.4 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.003204, allocations: 17.66 kB / 0.5224 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.591e-05/0.00326, allocations: 7.984 kB / 0.5224 GB, free: 15.38 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.003324, allocations: 8 kB / 0.5224 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.003375, allocations: 15.91 kB / 0.5224 GB, free: 15.35 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.003392, allocations: 1.188 kB / 0.5224 GB, free: 15.35 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.003704, allocations: 271.4 kB / 0.5226 GB, free: 15.09 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.003732, allocations: 3.984 kB / 0.5227 GB, free: 15.08 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.003756, allocations: 4 kB / 0.5227 GB, free: 15.08 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.003979, allocations: 156.2 kB / 0.5228 GB, free: 14.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003981, allocations: 1.188 kB / 0.5228 GB, free: 14.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.003982, allocations: 0 / 0.5228 GB, free: 14.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.003986, allocations: 0 / 0.5228 GB, free: 14.93 MB / 458.7 MB 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.0003336/0.00432, allocations: 385.4 kB / 0.5232 GB, free: 14.51 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.00436, allocations: 12.02 kB / 0.5232 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.004401, allocations: 5.281 kB / 0.5232 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.196e-05/0.004483, allocations: 116.6 kB / 0.5233 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.004493, allocations: 1.156 kB / 0.5233 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.004516, allocations: 8.312 kB / 0.5233 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.359e-05/0.004609, allocations: 68.78 kB / 0.5234 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.004615, allocations: 192 / 0.5234 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.004624, allocations: 384 / 0.5234 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.004631, allocations: 3.156 kB / 0.5234 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.108e-05/0.004662, allocations: 15.94 kB / 0.5234 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.0048, allocations: 116.6 kB / 0.5235 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.004957, allocations: 51.03 kB / 0.5236 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.004984, allocations: 15.69 kB / 0.5236 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.005001, allocations: 4.094 kB / 0.5236 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.005022, allocations: 37.88 kB / 0.5236 GB, free: 13.97 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.005023, allocations: 4.531 kB / 0.5236 GB, free: 13.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004941/0.005517, allocations: 230.6 kB / 0.5238 GB, free: 13.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.005549, allocations: 59.34 kB / 0.5239 GB, free: 13.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.485e-05/0.005614, allocations: 161.9 kB / 0.524 GB, free: 13.46 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.005623, allocations: 26.64 kB / 0.5241 GB, free: 13.43 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.005661, allocations: 126.9 kB / 0.5242 GB, free: 13.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.005687, allocations: 20.64 kB / 0.5242 GB, free: 13.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.005715, allocations: 23.38 kB / 0.5242 GB, free: 13.25 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.005816, allocations: 497.4 kB / 0.5247 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.005836, allocations: 15.94 kB / 0.5247 GB, free: 12.74 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.385e-05/0.00585, allocations: 7.984 kB / 0.5247 GB, free: 12.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.005888, allocations: 27.67 kB / 0.5248 GB, free: 12.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.005889, allocations: 4.5 kB / 0.5248 GB, free: 12.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.19e-05/0.005961, allocations: 62.67 kB / 0.5248 GB, free: 12.63 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.005975, allocations: 8 kB / 0.5248 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.005982, allocations: 0 / 0.5248 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.005995, allocations: 1.062 kB / 0.5248 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.221e-05/0.006037, allocations: 11.94 kB / 0.5248 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.006044, allocations: 3.938 kB / 0.5248 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.063e-05/0.006055, allocations: 4.625 kB / 0.5248 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.006061, allocations: 1.375 kB / 0.5248 GB, free: 12.6 MB / 458.7 MB 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 6.92e-05/0.00613, allocations: 164.5 kB / 0.525 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-06/0.006137, allocations: 4.516 kB / 0.525 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.006241, allocations: 66.38 kB / 0.5251 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.006244, allocations: 4 kB / 0.5251 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.006249, allocations: 4.5 kB / 0.5251 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.006255, allocations: 1.344 kB / 0.5251 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.006505, allocations: 321.2 kB / 0.5254 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.006507, allocations: 0 / 0.5254 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.006547, allocations: 8 kB / 0.5254 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.00655, allocations: 1.188 kB / 0.5254 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.006561, allocations: 7.938 kB / 0.5254 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.006565, allocations: 3.938 kB / 0.5254 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006566, allocations: 0.8438 kB / 0.5254 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.006712, allocations: 228.5 kB / 0.5256 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.006731, allocations: 11.98 kB / 0.5256 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.006747, allocations: 11.88 kB / 0.5257 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.006786, allocations: 6.75 kB / 0.5257 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.006804, allocations: 0 / 0.5257 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.006809, allocations: 4 kB / 0.5257 GB, free: 11.69 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.375e-05/0.006843, allocations: 123.2 kB / 0.5258 GB, free: 11.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006843, allocations: 4 kB / 0.5258 GB, free: 11.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001576/0.007, allocations: 19.94 kB / 0.5258 GB, free: 11.55 MB / 458.7 MB 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.0001345/0.007135, allocations: 125.8 kB / 0.5259 GB, free: 11.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.627e-05/0.007211, allocations: 35.67 kB / 0.526 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.007213, allocations: 0 / 0.526 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.922e-05/0.007232, allocations: 27.61 kB / 0.526 GB, free: 11.35 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.007382, allocations: 4.938 kB / 0.526 GB, free: 11.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.007863, allocations: 185.9 kB / 0.5262 GB, free: 11.15 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.256e-05/0.007896, allocations: 55.36 kB / 0.5262 GB, free: 11.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.195e-05/0.007928, allocations: 14.8 kB / 0.5262 GB, free: 11.06 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.007949, allocations: 12.5 kB / 0.5262 GB, free: 11.05 MB / 458.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007949, allocations: 0 / 0.5262 GB, free: 11.05 MB / 458.7 MB Notification: Performance of Templates: time 0.002263/0.01021, allocations: 0.6453 MB / 0.5269 GB, free: 10.48 MB / 458.7 MB " [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.42667926591821]