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.001406/0.001406, allocations: 88.72 kB / 19.44 MB, free: 356 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.001638/0.001638, allocations: 157.6 kB / 22.75 MB, free: 1.684 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 1.456/1.456, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 1.208/1.208, allocations: 154.6 MB / 414.2 MB, free: 0.6562 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 178] 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.863e-06/1.863e-06, allocations: 0 / 0.5196 GB, free: 1.438 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.861e-05, allocations: 2.312 kB / 0.5196 GB, free: 1.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002788/0.002816, allocations: 1.473 MB / 0.5211 GB, free: 15.98 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.004035, allocations: 0.5615 MB / 0.5216 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.004066, allocations: 0.7812 kB / 0.5216 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.004099, allocations: 7.922 kB / 0.5216 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.309e-05/0.004152, allocations: 9.094 kB / 0.5216 GB, free: 15.4 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005831/0.004735, allocations: 163.9 kB / 0.5218 GB, free: 15.24 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.004838, allocations: 60.39 kB / 0.5218 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.226e-05/0.00487, allocations: 0.8438 kB / 0.5218 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.8e-05/0.004968, allocations: 31.97 kB / 0.5219 GB, free: 15.15 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/0.005015, allocations: 19.91 kB / 0.5219 GB, free: 15.13 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.005033, allocations: 4.938 kB / 0.5219 GB, free: 15.13 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004766/0.00551, allocations: 271.4 kB / 0.5222 GB, free: 14.86 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.005533, allocations: 10.67 kB / 0.5222 GB, free: 14.86 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.005574, allocations: 19.92 kB / 0.5222 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000572/0.006146, allocations: 191.4 kB / 0.5224 GB, free: 14.65 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.006149, allocations: 0 / 0.5224 GB, free: 14.65 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.00615, allocations: 0 / 0.5224 GB, free: 14.65 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.768e-06/0.006154, allocations: 0 / 0.5224 GB, free: 14.65 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006513/0.006805, allocations: 327.2 kB / 0.5227 GB, free: 14.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.006852, allocations: 12.03 kB / 0.5227 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.00691, allocations: 8.938 kB / 0.5227 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.007035, allocations: 113.7 kB / 0.5228 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.007065, allocations: 12.92 kB / 0.5228 GB, free: 14.13 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.007095, allocations: 5.406 kB / 0.5228 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.007396, allocations: 137.5 kB / 0.523 GB, free: 13.97 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.00741, allocations: 5.375 kB / 0.523 GB, free: 13.97 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.007424, allocations: 4.375 kB / 0.523 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.007429, allocations: 384 / 0.523 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.007675, allocations: 52.45 kB / 0.523 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.008244, allocations: 259 kB / 0.5233 GB, free: 13.63 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.008551, allocations: 78.53 kB / 0.5233 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.008672, allocations: 28.78 kB / 0.5234 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.008695, allocations: 5.188 kB / 0.5234 GB, free: 13.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.008732, allocations: 30.56 kB / 0.5234 GB, free: 13.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.008733, allocations: 0 / 0.5234 GB, free: 13.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.001802/0.01054, allocations: 0.5068 MB / 0.5239 GB, free: 12.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.01058, allocations: 56.31 kB / 0.524 GB, free: 12.85 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.01069, allocations: 101.8 kB / 0.5241 GB, free: 12.74 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.01071, allocations: 25.7 kB / 0.5241 GB, free: 12.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.0108, allocations: 98.78 kB / 0.5242 GB, free: 12.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.01085, allocations: 39.64 kB / 0.5242 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.01091, allocations: 33.7 kB / 0.5242 GB, free: 12.53 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.01111, allocations: 318.8 kB / 0.5245 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.01126, allocations: 31.97 kB / 0.5246 GB, free: 12.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.0114, allocations: 34.61 kB / 0.5246 GB, free: 12.15 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.01168, allocations: 71.58 kB / 0.5247 GB, free: 12.08 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.01169, allocations: 0 / 0.5247 GB, free: 12.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003737/0.01206, allocations: 129.7 kB / 0.5248 GB, free: 11.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.01208, allocations: 4 kB / 0.5248 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01209, allocations: 1.312 kB / 0.5248 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.01211, allocations: 4 kB / 0.5248 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.01228, allocations: 27.97 kB / 0.5248 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.01228, allocations: 0.6562 kB / 0.5248 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.01237, allocations: 4 kB / 0.5248 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.01238, allocations: 11.44 kB / 0.5248 GB, free: 11.9 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 (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 0.0001191/0.0125, allocations: 117.7 kB / 0.525 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.01254, allocations: 8 kB / 0.525 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004349/0.01298, allocations: 125.7 kB / 0.5251 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.01298, allocations: 4 kB / 0.5251 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01299, allocations: 192 / 0.5251 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01299, allocations: 0 / 0.5251 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000671/0.01366, allocations: 342.7 kB / 0.5254 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01366, allocations: 0 / 0.5254 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.01382, allocations: 23.98 kB / 0.5254 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01382, allocations: 0 / 0.5254 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.01383, allocations: 0 / 0.5254 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.01384, allocations: 8.828 kB / 0.5255 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01384, allocations: 0 / 0.5255 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005893/0.01443, allocations: 252.5 kB / 0.5257 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.01444, allocations: 4.797 kB / 0.5257 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.01446, allocations: 8.031 kB / 0.5257 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.01459, allocations: 6.438 kB / 0.5257 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.01462, allocations: 3.984 kB / 0.5257 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.01464, allocations: 11.98 kB / 0.5257 GB, free: 10.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.079e-05/0.0147, allocations: 83.22 kB / 0.5258 GB, free: 10.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0147, allocations: 0 / 0.5258 GB, free: 10.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003058/0.015, allocations: 43.81 kB / 0.5258 GB, free: 10.82 MB / 458.7 MB 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.0002649/0.01527, allocations: 136 kB / 0.526 GB, free: 10.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.01564, allocations: 79.89 kB / 0.5261 GB, free: 10.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01564, allocations: 1.75 kB / 0.5261 GB, free: 10.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.0158, allocations: 47.91 kB / 0.5261 GB, free: 10.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.01613, allocations: 14.17 kB / 0.5261 GB, free: 10.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006938/0.01682, allocations: 255.3 kB / 0.5264 GB, free: 10.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.359e-05/0.01692, allocations: 83.12 kB / 0.5264 GB, free: 10.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.559e-05/0.01698, allocations: 18.97 kB / 0.5265 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.01703, allocations: 14.19 kB / 0.5265 GB, free: 10.17 MB / 458.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01703, allocations: 0 / 0.5265 GB, free: 10.17 MB / 458.7 MB Notification: Performance of Templates: time 0.004716/0.02175, allocations: 1.144 MB / 0.5276 GB, free: 9.129 MB / 458.7 MB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.776776556973346]