Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.000694/0.000694, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000955/0.001649, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001074/0.001074, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002541, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.891/0.891, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07509/0.9661, allocations: 53.66 MB / 243.4 MB, free: 15.48 MB / 250.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.7098/0.7098, allocations: 154.6 MB / 398.8 MB, free: 372 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2326/0.9424, allocations: 49.04 MB / 447.8 MB, free: 6.574 MB / 426.7 MB " [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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 449.2 MB, free: 5.254 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.334e-05, allocations: 4.938 kB / 449.2 MB, free: 5.25 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001823/0.001836, allocations: 1.376 MB / 450.5 MB, free: 3.902 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006839/0.00252, allocations: 0.5839 MB / 451.1 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.002537, allocations: 0 / 451.1 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.993e-06/0.002544, allocations: 2.438 kB / 451.1 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.739e-05/0.002561, allocations: 6.188 kB / 451.1 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.002888, allocations: 142.8 kB / 451.3 MB, free: 3.195 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.88e-05/0.002947, allocations: 18.33 kB / 451.3 MB, free: 3.184 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.003e-05/0.002977, allocations: 5.938 kB / 451.3 MB, free: 3.18 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.253e-05/0.003039, allocations: 21.61 kB / 451.3 MB, free: 3.16 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.331e-05/0.003083, allocations: 4.984 kB / 451.3 MB, free: 3.156 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.003093, allocations: 0 / 451.3 MB, free: 3.156 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.003472, allocations: 281.7 kB / 451.6 MB, free: 2.883 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.003484, allocations: 1.969 kB / 451.6 MB, free: 2.883 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.0035, allocations: 8 kB / 451.6 MB, free: 2.875 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.003704, allocations: 127.6 kB / 451.7 MB, free: 2.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.003714, allocations: 0 / 451.7 MB, free: 2.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.003716, allocations: 4 kB / 451.7 MB, free: 2.746 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.003728, allocations: 0.6562 kB / 451.7 MB, free: 2.746 MB / 426.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.0003378/0.004066, allocations: 274.4 kB / 452 MB, free: 2.453 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.004097, allocations: 12.66 kB / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.004126, allocations: 8.203 kB / 452 MB, free: 2.438 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.731e-05/0.004203, allocations: 110.4 kB / 452.1 MB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-06/0.004212, allocations: 384 / 452.1 MB, free: 2.305 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.004233, allocations: 4.375 kB / 452.1 MB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.398e-05/0.004306, allocations: 64.84 kB / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.004314, allocations: 4.125 kB / 452.2 MB, free: 2.223 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-06/0.004319, allocations: 384 / 452.2 MB, free: 2.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.004324, allocations: 384 / 452.2 MB, free: 2.223 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.004344, allocations: 7.938 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.828e-05/0.004432, allocations: 70.92 kB / 452.3 MB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.004567, allocations: 42.59 kB / 452.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.004586, allocations: 14.73 kB / 452.3 MB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.004599, allocations: 0 / 452.3 MB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.00462, allocations: 30.56 kB / 452.4 MB, free: 2.027 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.004621, allocations: 4 kB / 452.4 MB, free: 2.023 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004347/0.005056, allocations: 229.1 kB / 452.6 MB, free: 1.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.005078, allocations: 52.31 kB / 452.6 MB, free: 1.707 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.737e-05/0.005125, allocations: 102.7 kB / 452.7 MB, free: 1.594 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.005135, allocations: 30.64 kB / 452.8 MB, free: 1.559 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.118e-05/0.005156, allocations: 80.14 kB / 452.8 MB, free: 1.477 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.005182, allocations: 27.78 kB / 452.9 MB, free: 1.449 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.005211, allocations: 15.03 kB / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000292/0.005503, allocations: 330.8 kB / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.005515, allocations: 4 kB / 453.2 MB, free: 1.094 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.25e-05/0.005528, allocations: 8.719 kB / 453.2 MB, free: 1.086 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.005561, allocations: 24.78 kB / 453.2 MB, free: 1.059 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.005561, allocations: 1.219 kB / 453.3 MB, free: 1.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.604e-05/0.005617, allocations: 45.69 kB / 453.3 MB, free: 1.008 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.005629, allocations: 8 kB / 453.3 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.005632, allocations: 1.062 kB / 453.3 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.005643, allocations: 0 / 453.3 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.094e-05/0.005683, allocations: 15.98 kB / 453.3 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.005686, allocations: 1.156 kB / 453.3 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.0057, allocations: 3.938 kB / 453.3 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.005704, allocations: 0 / 453.3 MB, free: 0.9805 MB / 426.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 4.914e-05/0.005753, allocations: 122.5 kB / 453.4 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.00576, allocations: 1.531 kB / 453.4 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.474e-05/0.005834, allocations: 65.97 kB / 453.5 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.005835, allocations: 0 / 453.5 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.005837, allocations: 0 / 453.5 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005839, allocations: 0 / 453.5 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.005999, allocations: 213 kB / 453.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006, allocations: 0 / 453.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.006043, allocations: 19.98 kB / 453.7 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.006055, allocations: 4.688 kB / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.006056, allocations: 0 / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.006062, allocations: 1.125 kB / 453.7 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.006065, allocations: 7.938 kB / 453.8 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.006067, allocations: 3.984 kB / 453.8 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.006173, allocations: 157.9 kB / 453.9 MB, free: 348 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.006184, allocations: 9.266 kB / 453.9 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.36e-05/0.006238, allocations: 0 / 453.9 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.00625, allocations: 11.94 kB / 453.9 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.006254, allocations: 0 / 453.9 MB, free: 328 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.059e-05/0.006265, allocations: 17.53 kB / 453.9 MB, free: 308 kB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006265, allocations: 0 / 453.9 MB, free: 308 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001974/0.006462, allocations: 28.38 kB / 454 MB, free: 280 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001359/0.006598, allocations: 117.6 kB / 454.1 MB, free: 156 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.989e-05/0.006658, allocations: 24.8 kB / 454.1 MB, free: 128 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.006663, allocations: 4.531 kB / 454.1 MB, free: 124 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.227e-05/0.006685, allocations: 21.47 kB / 454.1 MB, free: 100 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.006818, allocations: 8.625 kB / 454.1 MB, free: 92 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009824/0.0078, allocations: 165.1 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.226e-05/0.007832, allocations: 59.34 kB / 454.4 MB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.314e-05/0.007856, allocations: 4 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.007897, allocations: 61.41 kB / 454.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of SimCode: time 2.81e-07/0.007897, allocations: 0 / 454.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of Templates: time 0.002349/0.01025, allocations: 0.8767 MB / 455.3 MB, free: 14.99 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.284904691390693]