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.0007985/0.0007985, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00114/0.001939, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007458/0.0007458, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009973/0.001743, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08626/1.089, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.8224/0.8224, allocations: 154.6 MB / 398.5 MB, free: 0.5195 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.283/1.105, allocations: 49.04 MB / 447.6 MB, free: 6.727 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.563e-06/1.563e-06, allocations: 0 / 448.9 MB, free: 5.441 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.474e-05, allocations: 4.469 kB / 448.9 MB, free: 5.438 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002506/0.002531, allocations: 1.37 MB / 450.3 MB, free: 4.094 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008725/0.003404, allocations: 0.5801 MB / 450.8 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.003434, allocations: 0 / 450.8 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.09e-05/0.003445, allocations: 0 / 450.8 MB, free: 3.523 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.136e-05/0.003476, allocations: 5.906 kB / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.004012, allocations: 144 kB / 451 MB, free: 3.391 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.073e-05/0.004093, allocations: 22.45 kB / 451 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.004136, allocations: 9.656 kB / 451 MB, free: 3.367 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/0.004207, allocations: 12.64 kB / 451 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.648e-05/0.004263, allocations: 17.27 kB / 451 MB, free: 3.34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.004278, allocations: 0 / 451 MB, free: 3.34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004577/0.004736, allocations: 271.4 kB / 451.3 MB, free: 3.074 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.004751, allocations: 4.656 kB / 451.3 MB, free: 3.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.004771, allocations: 4 kB / 451.3 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.005026, allocations: 133.1 kB / 451.4 MB, free: 2.938 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-05/0.005048, allocations: 0 / 451.4 MB, free: 2.938 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005049, allocations: 0 / 451.4 MB, free: 2.938 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.005069, allocations: 0 / 451.4 MB, free: 2.938 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.0004277/0.005497, allocations: 276.4 kB / 451.7 MB, free: 2.645 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.005536, allocations: 12.02 kB / 451.7 MB, free: 2.633 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.005569, allocations: 4.938 kB / 451.7 MB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.005667, allocations: 109.7 kB / 451.8 MB, free: 2.496 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.005681, allocations: 8.375 kB / 451.9 MB, free: 2.488 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.005704, allocations: 1.281 kB / 451.9 MB, free: 2.488 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.957e-05/0.005804, allocations: 65.86 kB / 451.9 MB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.005812, allocations: 192 / 451.9 MB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-06/0.00582, allocations: 5.531 kB / 451.9 MB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.005826, allocations: 384 / 451.9 MB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.034e-05/0.005856, allocations: 11.92 kB / 451.9 MB, free: 2.398 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.005967, allocations: 65.72 kB / 452 MB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.006151, allocations: 35.27 kB / 452 MB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.006176, allocations: 9.609 kB / 452 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.006199, allocations: 0 / 452 MB, free: 2.266 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.006226, allocations: 43.38 kB / 452.1 MB, free: 2.215 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.006227, allocations: 0 / 452.1 MB, free: 2.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006075/0.006835, allocations: 228.5 kB / 452.3 MB, free: 1.961 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.006865, allocations: 51.41 kB / 452.4 MB, free: 1.898 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/0.006928, allocations: 107.3 kB / 452.5 MB, free: 1.781 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.006948, allocations: 29.7 kB / 452.5 MB, free: 1.746 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.703e-05/0.006975, allocations: 89.3 kB / 452.6 MB, free: 1.656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.007006, allocations: 15.8 kB / 452.6 MB, free: 1.641 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.007043, allocations: 29.69 kB / 452.6 MB, free: 1.605 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.007138, allocations: 315.8 kB / 452.9 MB, free: 1.289 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.007152, allocations: 4 kB / 452.9 MB, free: 1.285 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.265e-05/0.007165, allocations: 7.938 kB / 452.9 MB, free: 1.277 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/0.007205, allocations: 25.98 kB / 453 MB, free: 1.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.007207, allocations: 0 / 453 MB, free: 1.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.988e-05/0.007277, allocations: 49.69 kB / 453 MB, free: 1.195 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.007295, allocations: 8.516 kB / 453 MB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.0073, allocations: 0 / 453 MB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.007311, allocations: 1.688 kB / 453 MB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.007376, allocations: 16 kB / 453 MB, free: 1.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.007382, allocations: 3.938 kB / 453 MB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.007398, allocations: 3.938 kB / 453.1 MB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.007407, allocations: 6.484 kB / 453.1 MB, free: 1.16 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 7.553e-05/0.007482, allocations: 105.8 kB / 453.2 MB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.007498, allocations: 11.98 kB / 453.2 MB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.00761, allocations: 58.64 kB / 453.2 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.007614, allocations: 5.25 kB / 453.2 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.007616, allocations: 0 / 453.2 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.007619, allocations: 0 / 453.2 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.007839, allocations: 216.5 kB / 453.4 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.007842, allocations: 0 / 453.4 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/0.007902, allocations: 8 kB / 453.5 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.007916, allocations: 4.875 kB / 453.5 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.007919, allocations: 0 / 453.5 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.007927, allocations: 9.078 kB / 453.5 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.00793, allocations: 7.938 kB / 453.5 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007932, allocations: 3.938 kB / 453.5 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.008072, allocations: 161 kB / 453.6 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.008085, allocations: 6.781 kB / 453.6 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/0.008144, allocations: 4 kB / 453.6 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.008159, allocations: 4.562 kB / 453.7 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.008164, allocations: 0.625 kB / 453.7 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.355e-05/0.008178, allocations: 12.84 kB / 453.7 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008178, allocations: 4.562 kB / 453.7 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.008407, allocations: 31.88 kB / 453.7 MB, free: 472 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.0001872/0.008595, allocations: 113.4 kB / 453.8 MB, free: 352 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.093e-05/0.008675, allocations: 33.53 kB / 453.8 MB, free: 316 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.008681, allocations: 0 / 453.8 MB, free: 316 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-05/0.008701, allocations: 22.56 kB / 453.9 MB, free: 292 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.008862, allocations: 8 kB / 453.9 MB, free: 284 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.01018, allocations: 158.4 kB / 454 MB, free: 100 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.01022, allocations: 59.34 kB / 454.1 MB, free: 20 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.185e-05/0.01026, allocations: 5.062 kB / 454.1 MB, free: 16 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.01033, allocations: 59.36 kB / 454.1 MB, free: 15.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.843e-06/0.01033, allocations: 2.344 kB / 454.2 MB, free: 15.96 MB / 442.7 MB Notification: Performance of Templates: time 0.002613/0.01294, allocations: 0.8719 MB / 455 MB, free: 15.18 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.5057759759947658]