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.0008977/0.0008977, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001008/0.001008, allocations: 169 kB / 23.27 MB, free: 1.219 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.9388/0.9388, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.7647/0.7647, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.844e-06/1.844e-06, allocations: 0 / 0.5208 GB, free: 1.871 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.667e-05, allocations: 8.469 kB / 0.5208 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002125/0.002152, allocations: 1.307 MB / 0.5221 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009037/0.003056, allocations: 0.5695 MB / 0.5226 GB, free: 0 / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.003088, allocations: 112 / 0.5226 GB, free: 16 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/0.003109, allocations: 5.344 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.682e-05/0.003156, allocations: 3.828 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.003667, allocations: 144.2 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.141e-05/0.003728, allocations: 27.84 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.003763, allocations: 0.9688 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.003819, allocations: 11.98 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.003866, allocations: 9 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.003878, allocations: 0 / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.004253, allocations: 267.4 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.004274, allocations: 12.95 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.004293, allocations: 4 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.00454, allocations: 152.2 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004543, allocations: 0 / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.02e-07/0.004544, allocations: 0.5938 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.004549, allocations: 0 / 0.5232 GB, free: 15.38 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.0003859/0.004934, allocations: 393.1 kB / 0.5236 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.00498, allocations: 8.031 kB / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.005008, allocations: 9.234 kB / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.08e-05/0.005089, allocations: 113.2 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.005101, allocations: 4.375 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.005118, allocations: 2.188 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.491e-05/0.005203, allocations: 63.95 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.005211, allocations: 4.125 kB / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.005217, allocations: 384 / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.005223, allocations: 2 kB / 0.5238 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.005243, allocations: 11.92 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.005368, allocations: 105.2 kB / 0.5239 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.005514, allocations: 51.08 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/0.005537, allocations: 25.12 kB / 0.524 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.005559, allocations: 0 / 0.524 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.005582, allocations: 37.33 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.005582, allocations: 0.5312 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0004318/0.006014, allocations: 226.4 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.006039, allocations: 51.41 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.006113, allocations: 163.3 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.006126, allocations: 25.7 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.00617, allocations: 130.9 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.006203, allocations: 23.78 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.00624, allocations: 29.02 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.006378, allocations: 0.4884 MB / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.006393, allocations: 4 kB / 0.5251 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.498e-05/0.006408, allocations: 7.984 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/0.00645, allocations: 29.94 kB / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.006451, allocations: 0 / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.301e-05/0.006534, allocations: 57.64 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.006548, allocations: 8 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.006553, allocations: 0 / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.006566, allocations: 0 / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.487e-05/0.006611, allocations: 8 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.006614, allocations: 6.688 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.739e-05/0.006631, allocations: 7.938 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.006637, allocations: 3.984 kB / 0.5252 GB, free: 13.09 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 8.115e-05/0.006718, allocations: 164.5 kB / 0.5254 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.006729, allocations: 4 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.006836, allocations: 61.81 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006838, allocations: 1.344 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.00684, allocations: 0 / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.006847, allocations: 7.922 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.007089, allocations: 301.9 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.007092, allocations: 0.9375 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/0.007141, allocations: 8 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.007144, allocations: 0.9375 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.007151, allocations: 4 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.007152, allocations: 0.875 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.007154, allocations: 3.938 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.007308, allocations: 229.5 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.007326, allocations: 4 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.007337, allocations: 3.984 kB / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.214e-05/0.007389, allocations: 0 / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.007405, allocations: 11.94 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.00741, allocations: 0.5156 kB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.861e-05/0.007449, allocations: 127.8 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007449, allocations: 0.6562 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002319/0.007681, allocations: 19.94 kB / 0.5262 GB, free: 12.09 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.000171/0.007852, allocations: 120.8 kB / 0.5263 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.72e-05/0.007939, allocations: 39.83 kB / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.007941, allocations: 0 / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.198e-05/0.007963, allocations: 22.23 kB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.008169, allocations: 14 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.008648, allocations: 189.4 kB / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.923e-05/0.008687, allocations: 55.36 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.302e-05/0.00872, allocations: 12.12 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.008777, allocations: 74.8 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.008778, allocations: 3.938 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.002899/0.01168, allocations: 0.729 MB / 0.5274 GB, free: 10.86 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.480462393257767]